public class ComplexAttribute extends AbstractAttribute
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Attribute> |
subAttributesList |
caseExact, description, multiValued, mutability, name, required, returned, type, uniqueness, uri| Constructor and Description |
|---|
ComplexAttribute() |
ComplexAttribute(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteSubAttributes() |
Attribute |
getSubAttribute(String attributeName)
Retrieve one attribute given the attribute name.
|
Map<String,Attribute> |
getSubAttributesList()
Retrieve the map of sub attributes.
|
boolean |
isSubAttributeExist(String attributeName) |
void |
removeSubAttribute(String attributeName)
Remove a sub attribute from the complex attribute given the sub attribute name.
|
void |
setSubAttribute(Attribute subAttribute)
Set a sub attribute of the complex attribute's sub attribute list.
|
void |
setSubAttributesList(Map<String,Attribute> subAttributesList)
Set the map of sub attributes.
|
getCaseExact, getDescription, getMultiValued, getMutability, getName, getRequired, getReturned, getType, getUniqueness, getURI, setCaseExact, setDescription, setMultiValued, setMutability, setName, setRequired, setReturned, setType, setUniqueness, setURIpublic ComplexAttribute(String name)
public ComplexAttribute()
public Map<String,Attribute> getSubAttributesList()
public void setSubAttributesList(Map<String,Attribute> subAttributesList)
subAttributesList - public Attribute getSubAttribute(String attributeName) throws CharonException
attributeName - CharonExceptionpublic void deleteSubAttributes()
throws CharonException
CharonExceptionpublic void removeSubAttribute(String attributeName)
attributeName - public boolean isSubAttributeExist(String attributeName)
public void setSubAttribute(Attribute subAttribute) throws CharonException
subAttribute - CharonExceptionCopyright © 2019 WSO2. All rights reserved.