Class PropertyImpl
- java.lang.Object
-
- net.officefloor.compile.impl.properties.PropertyImpl
-
-
Constructor Summary
Constructors Constructor Description PropertyImpl(java.lang.String name)Instantiates the label as the name.PropertyImpl(java.lang.String name, java.lang.String label)Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetLabel()Obtains the display label for the property.java.lang.StringgetName()Obtains the name of the property.java.lang.StringgetValue()Obtains the value of the property.voidsetValue(java.lang.String value)Changes the value of the property.
-
-
-
Constructor Detail
-
PropertyImpl
public PropertyImpl(java.lang.String name, java.lang.String label)Instantiate.- Parameters:
name- Name of the property.label- Display label for the property. Should this be blank, it is defaulted toname.
-
PropertyImpl
public PropertyImpl(java.lang.String name)
Instantiates the label as the name.- Parameters:
name- Name of the property which is also used as the display label.
-
-
Method Detail
-
getLabel
public java.lang.String getLabel()
Description copied from interface:PropertyObtains the display label for the property.
-
getName
public java.lang.String getName()
Description copied from interface:PropertyObtains the name of the property.
-
getValue
public java.lang.String getValue()
Description copied from interface:PropertyObtains the value of the property.
-
-