|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface for accessing objects of the
NamedPropertyMessage xsi:type in the
messages namespace. Extends and
inherits the properties of the
GenericMessage xsi:type.
| Field Summary | |
static XArchTypeMetadata |
TYPE_METADATA
|
| Fields inherited from interface edu.uci.isr.xarch.IXArchElement |
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO |
| Method Summary | |
void |
addNamedProperty(INamedProperty newNamedProperty)
Add a namedProperty to this NamedPropertyMessage. |
void |
addNamedPropertys(Collection namedPropertys)
Add a collection of namedPropertys to this NamedPropertyMessage. |
void |
clearName()
Clear the name from this NamedPropertyMessage. |
void |
clearNamedPropertys()
Remove all namedPropertys from this NamedPropertyMessage. |
Collection |
getAllNamedPropertys()
Get all the namedPropertys from this NamedPropertyMessage. |
IMessageName |
getName()
Get the name from this NamedPropertyMessage. |
boolean |
hasAllNamedPropertys(Collection namedPropertysToCheck)
Determine if this NamedPropertyMessage contains each element in the given set of namedPropertys. |
boolean |
hasName(IMessageName nameToCheck)
Determine if this NamedPropertyMessage has the given name |
boolean |
hasNamedProperty(INamedProperty namedPropertyToCheck)
Determine if this NamedPropertyMessage contains a given namedProperty. |
Collection |
hasNamedPropertys(Collection namedPropertysToCheck)
Determine if this NamedPropertyMessage contains the given set of namedPropertys. |
boolean |
isEquivalent(INamedPropertyMessage NamedPropertyMessageToCheck)
Determine if another NamedPropertyMessage is equivalent to this one, ignoring ID's. |
void |
removeNamedProperty(INamedProperty namedPropertyToRemove)
Remove the given namedProperty from this NamedPropertyMessage. |
void |
removeNamedPropertys(Collection namedPropertys)
Remove all the given namedPropertys from this NamedPropertyMessage. |
void |
setName(IMessageName value)
Set the name for this NamedPropertyMessage. |
| Methods inherited from interface edu.uci.isr.xarch.messages.IGenericMessage |
clearCount, clearDescription, clearId, clearKind, clearType, getCount, getDescription, getId, getKind, getType, hasCount, hasDescription, hasId, hasKind, hasType, isEqual, isEquivalent, setCount, setDescription, setId, setKind, setType |
| Methods inherited from interface edu.uci.isr.xarch.IXArchElement |
cloneElement, getInstanceMetadata, getTypeMetadata, getXArch, setXArch |
| Field Detail |
public static final XArchTypeMetadata TYPE_METADATA
| Method Detail |
public void setName(IMessageName value)
value - new namepublic void clearName()
public IMessageName getName()
public boolean hasName(IMessageName nameToCheck)
nameToCheck - name to compare
true if the names are equivalent,
false otherwisepublic void addNamedProperty(INamedProperty newNamedProperty)
newNamedProperty - namedProperty to add.public void addNamedPropertys(Collection namedPropertys)
namedPropertys - namedPropertys to add.public void clearNamedPropertys()
public void removeNamedProperty(INamedProperty namedPropertyToRemove)
isEquivalent(...) function.
namedPropertyToRemove - namedProperty to remove.public void removeNamedPropertys(Collection namedPropertys)
isEquivalent(...) function.
namedPropertys - namedProperty to remove.public Collection getAllNamedPropertys()
public boolean hasNamedProperty(INamedProperty namedPropertyToCheck)
true if this NamedPropertyMessage contains the given
namedPropertyToCheck, false otherwise.public Collection hasNamedPropertys(Collection namedPropertysToCheck)
namedPropertysToCheck - namedPropertys to check for.
java.lang.Boolean. If the ith
element in namedPropertys was found, then the ith
element of the collection will be set to true, otherwise it
will be set to false. Matching is done with the
isEquivalent(...) method.public boolean hasAllNamedPropertys(Collection namedPropertysToCheck)
namedPropertysToCheck - namedPropertys to check for.
true if every element in
namedPropertys is found in this NamedPropertyMessage,
false otherwise.public boolean isEquivalent(INamedPropertyMessage NamedPropertyMessageToCheck)
NamedPropertyMessageToCheck - NamedPropertyMessage to compare to this one.
true if all the child elements of this
NamedPropertyMessage are equivalent, false otherwise.
|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||