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.String
getLabel()
Obtains the display label for the property.java.lang.String
getName()
Obtains the name of the property.java.lang.String
getValue()
Obtains the value of the property.void
setValue(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:Property
Obtains the display label for the property.
-
getName
public java.lang.String getName()
Description copied from interface:Property
Obtains the name of the property.
-
getValue
public java.lang.String getValue()
Description copied from interface:Property
Obtains the value of the property.
-
-