Package com.quartetfs.fwk.impl
Class ListProperty<L extends List>
- java.lang.Object
-
- com.quartetfs.fwk.impl.AProperty
-
- com.quartetfs.fwk.impl.CompiledProperty<L>
-
- com.quartetfs.fwk.impl.ListProperty<L>
-
- All Implemented Interfaces:
IClone<IProperty>,ICompiledProperty<L>,IProperty,Serializable,Cloneable
public final class ListProperty<L extends List> extends CompiledProperty<L>
Property used to access an element in a list at a specific index.- Author:
- ActiveViam
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListProperty(String name, int index, Class<L> cls)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)ObjectgetValue(Object target)Gets the value of this property from a target object.inthashCode()voidsetValue(Object target, Object value)Sets the value of this property on a target object.-
Methods inherited from class com.quartetfs.fwk.impl.CompiledProperty
clone, compileFor, getPropertyChain, getTargetClass, toString
-
Methods inherited from class com.quartetfs.fwk.impl.AProperty
getExpression, getName
-
Methods inherited from interface com.quartetfs.fwk.IProperty
getExpression, getName
-
-
-
-
Method Detail
-
getValue
public Object getValue(Object target)
Description copied from interface:IPropertyGets the value of this property from a target object.- Parameters:
target- target object- Returns:
- property value
-
setValue
public void setValue(Object target, Object value)
Description copied from interface:IPropertySets the value of this property on a target object.- Parameters:
target- target objectvalue- value to set
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCompiledProperty<L extends List>
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classCompiledProperty<L extends List>
-
-