|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpl.edu.agh.cast.data.model.property.Property<MetaProperty>
pl.edu.agh.cast.data.model.property.CustomProperty
public class CustomProperty
Custom property - contains the value of the property.
Constructor Summary | |
---|---|
CustomProperty(MetaProperty metaProperty)
Creates new custom property. |
|
CustomProperty(MetaProperty metaProperty,
Object value)
Creates new custom property with initialized value. |
Method Summary | |
---|---|
Object |
getValue()
Returns property value. |
void |
setValue(Object value)
Sets property value. |
Methods inherited from class pl.edu.agh.cast.data.model.property.Property |
---|
equals, getMetaProperty, hashCode, isValidValue, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CustomProperty(MetaProperty metaProperty)
metaProperty
- MetaProperty
which describes this propertypublic CustomProperty(MetaProperty metaProperty, Object value)
metaProperty
- MetaProperty
which describes this propertyvalue
- initial valueMethod Detail |
---|
public Object getValue()
getValue
in class Property<MetaProperty>
Property.getValue()
public void setValue(Object value)
setValue
in class Property<MetaProperty>
value
- value to setProperty.setValue(java.lang.Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |