java.io.Serializable, java.lang.Cloneablepublic class ListAttribute extends Attribute
List.
This attribute associates a name with a list. The list can be found by the
property name.
Elements in list are retrieved using List methods.
This class is used to read configuration files.expressionObject, roles, value| Constructor | Description |
|---|---|
ListAttribute() |
Constructor.
|
ListAttribute(java.util.List<Attribute> value) |
Constructor.
|
ListAttribute(ListAttribute toCopy) |
Copy constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
add(Attribute element) |
Add an element in list.
|
ListAttribute |
clone() |
|
boolean |
equals(java.lang.Object obj) |
|
java.util.List<Attribute> |
getValue() |
Returns the list of the attributes that are elements of this attribute.
|
int |
hashCode() |
|
void |
inherit(ListAttribute parent) |
Inherits elements present in a "parent" list attribute.
|
boolean |
isInherit() |
If true, the attribute will put the elements of the attribute with the
same name of the parent definition before the ones specified here.
|
void |
setInherit(boolean inherit) |
If true, the attribute will put the elements of the attribute with the
same name of the parent definition before the ones specified here.
|
void |
setValue(java.util.List<Attribute> attributes) |
Sets the list of the attributes that are elements of this attribute.
|
createTemplateAttribute, createTemplateAttribute, createTemplateAttributeWithExpression, getExpressionObject, getRenderer, getRole, getRoles, inherit, isPermitted, setExpressionObject, setRenderer, setRole, setRoles, setValue, toStringpublic ListAttribute()
public ListAttribute(java.util.List<Attribute> value)
value - List.public ListAttribute(ListAttribute toCopy)
toCopy - The list attribute to copy.public void setValue(java.util.List<Attribute> attributes)
attributes - The attributes.public java.util.List<Attribute> getValue()
public void add(Attribute element)
element - XmlAttribute to add.public void setInherit(boolean inherit)
inherit - The "inherit" value.public boolean isInherit()
public void inherit(ListAttribute parent)
parent - The parent list attribute.public ListAttribute clone()
Copyright © 2018. All rights reserved.