public class Property extends ParentParameter
Property class represents an element property.chosen, description, lineNumber, purposename, node| Constructor and Description |
|---|
Property(java.lang.String name,
AttributeGroup[] attributeGroups,
int lineNumber)
Initializes a newly created
Attribute with the specified name and the list of
attribute groups. |
| Modifier and Type | Method and Description |
|---|---|
void |
clearValues()
Clear values (sets default values) of all groups of types.
|
AttributeGroup[] |
getAttributeGroupList() |
Attribute |
searchAttribute(java.lang.String name)
Search for an attribute with specified name.
|
void |
setValuesFromTemporary()
Sets values of all groups of types after their temporary values.
|
compareTo, getDescription, getLineNumber, getPurpose, isChosen, setChosen, setChosen, setDescription, setPurposeequals, getName, getNode, setName, setNodepublic Property(java.lang.String name,
AttributeGroup[] attributeGroups,
int lineNumber)
Attribute with the specified name and the list of
attribute groups. The name argument is the name of the property. The
attributeGroups argument is the list of AttributeGroups.name - a name of the property.attributeGroups - a list of attribute groups.public AttributeGroup[] getAttributeGroupList()
public Attribute searchAttribute(java.lang.String name)
name - a name of serched attribute.public void setValuesFromTemporary()
public void clearValues()
clearValues in class ParentParameter