@StableMinor(version="12.3", sinceVersion="5.0") public class Property extends Object
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.
Modifier and Type | Method and Description |
---|---|
List<String> |
getDefaultValues()
Returns the list of default values stored for this property.
|
String |
getId()
Returns the identifier of this property.
|
PropertyInheritMode |
getInheritMode()
Returns the inherit mode for 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 |
setInheritMode(PropertyInheritMode inheritMode)
Sets the inherit mode for this property.
|
void |
setPrivate(boolean isPrivate)
Specifies if this property is private or public.
|
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()
public PropertyInheritMode getInheritMode()
PropertyInheritMode
public void setInheritMode(PropertyInheritMode inheritMode)
inheritMode
- the inherit mode for this property.PropertyInheritMode
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.