|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.propertybag.Property
@StableMinor(version="6.2", sinceVersion="5.0") public class Property
Represents a property of a PropertyBag
.
A property has a name, a value that may be a string or array of strings, and a flag that indicates whether the property is read-only or not. A read-only property may not be personalized.
Method Summary | |
---|---|
List<String> |
getDefaultValues()
Returns the list of default values stored for this property. |
String |
getId()
Returns the identifier of this property. |
String |
getName()
Returns the name of this property. |
PropertyBag |
getPropertyBag()
Returns the parent property bag of this property. |
List<String> |
getValues()
Returns the values for this property, applying all property values evaluation rules. |
boolean |
isPrivate()
Returns whether the property is private or not. |
void |
setDefaultValues(List<String> values)
Sets the default values for this property. |
void |
setPrivate(boolean isPrivate)
Specifies if this property is private or public. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public String getId()
public String getName()
public List<String> getDefaultValues()
null
is returned.
null
if this property inherits its default values from a parent property bag.public void setDefaultValues(List<String> values)
values
- the list of values to set, an empty list to set this
property to have explicitly no value,
or null
to indicate this property will inherit its default
values.public PropertyBag getPropertyBag()
public List<String> getValues()
public void setPrivate(boolean isPrivate)
isPrivate
- true if the property is private.public boolean isPrivate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |