com.threerings.antidote.property
Interface Property<T>

All Superinterfaces:
Mutable, RequiresValidation
All Known Implementing Classes:
BaseProperty, BooleanProperty, EnumProperty, FileProperty, IntegerProperty, ListProperty, ModeProperty, NonEmptyListProperty, StringProperty, URLProperty

public interface Property<T>
extends RequiresValidation, Mutable

A generic Field property, e.g. <field property="value"/>


Method Summary
 Field getField()
          Returns the Field this Property is attached to.
 String getPropertyName()
          Returns the unique name of this field property.
 T getValue()
          Returns the value assigned to this property, after it has been validated from the raw value.
 
Methods inherited from interface com.threerings.antidote.RequiresValidation
validate
 
Methods inherited from interface com.threerings.antidote.Mutable
isNotSet, isSet
 

Method Detail

getPropertyName

String getPropertyName()
Returns the unique name of this field property.


getValue

T getValue()
Returns the value assigned to this property, after it has been validated from the raw value.


getField

Field getField()
Returns the Field this Property is attached to.



Copyright © 2007-2008 Three Rings Design, Inc. All Rights Reserved. Released under a BSD license.