|
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
Connector xsi:type in the
types namespace.
| Field Summary | |
static XArchTypeMetadata |
TYPE_METADATA
|
| Fields inherited from interface edu.uci.isr.xarch.IXArchElement |
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO |
| Method Summary | |
void |
addInterface(IInterface newInterface)
Add a interface to this Connector. |
void |
addInterfaces(Collection interfaces)
Add a collection of interfaces to this Connector. |
void |
clearDescription()
Clear the description from this Connector. |
void |
clearId()
Remove the id attribute from this Connector. |
void |
clearInterfaces()
Remove all interfaces from this Connector. |
void |
clearType()
Clear the type from this Connector. |
Collection |
getAllInterfaces()
Get all the interfaces from this Connector. |
IDescription |
getDescription()
Get the description from this Connector. |
String |
getId()
Get the id attribute from this Connector. |
IInterface |
getInterface(String id)
Gets the interface from this Connector with the given id. |
Collection |
getInterfaces(Collection ids)
Gets the interfaces from this Connector with the given ids. |
IXMLLink |
getType()
Get the type from this Connector. |
boolean |
hasAllInterfaces(Collection interfacesToCheck)
Determine if this Connector contains each element in the given set of interfaces. |
boolean |
hasDescription(IDescription descriptionToCheck)
Determine if this Connector has the given description |
boolean |
hasId(String id)
Determine if the id attribute on this Connector has the given value. |
boolean |
hasInterface(IInterface interfaceToCheck)
Determine if this Connector contains a given interface. |
Collection |
hasInterfaces(Collection interfacesToCheck)
Determine if this Connector contains the given set of interfaces. |
boolean |
hasType(IXMLLink typeToCheck)
Determine if this Connector has the given type |
boolean |
isEqual(IConnector ConnectorToCheck)
Determine if another Connector has the same id as this one. |
boolean |
isEquivalent(IConnector ConnectorToCheck)
Determine if another Connector is equivalent to this one, ignoring ID's. |
void |
removeInterface(IInterface interfaceToRemove)
Remove the given interface from this Connector. |
void |
removeInterfaces(Collection interfaces)
Remove all the given interfaces from this Connector. |
void |
setDescription(IDescription value)
Set the description for this Connector. |
void |
setId(String id)
Set the id attribute on this Connector. |
void |
setType(IXMLLink value)
Set the type for this Connector. |
| 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 setId(String id)
id - id
FixedValueException - if the attribute has a fixed value
and the value passed is not the fixed value.public void clearId()
public String getId()
public boolean hasId(String id)
id - Attribute value to compare
true if they match; false
otherwise.public void setDescription(IDescription value)
value - new descriptionpublic void clearDescription()
public IDescription getDescription()
public boolean hasDescription(IDescription descriptionToCheck)
descriptionToCheck - description to compare
true if the descriptions are equivalent,
false otherwisepublic void addInterface(IInterface newInterface)
newInterface - interface to add.public void addInterfaces(Collection interfaces)
interfaces - interfaces to add.public void clearInterfaces()
public void removeInterface(IInterface interfaceToRemove)
isEquivalent(...) function.
interfaceToRemove - interface to remove.public void removeInterfaces(Collection interfaces)
isEquivalent(...) function.
interfaces - interface to remove.public Collection getAllInterfaces()
public boolean hasInterface(IInterface interfaceToCheck)
true if this Connector contains the given
interfaceToCheck, false otherwise.public Collection hasInterfaces(Collection interfacesToCheck)
interfacesToCheck - interfaces to check for.
java.lang.Boolean. If the ith
element in interfaces 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 hasAllInterfaces(Collection interfacesToCheck)
interfacesToCheck - interfaces to check for.
true if every element in
interfaces is found in this Connector,
false otherwise.public IInterface getInterface(String id)
id - ID to look for.
null if not found.public Collection getInterfaces(Collection ids)
ids - ID to look for.
public void setType(IXMLLink value)
value - new typepublic void clearType()
public IXMLLink getType()
public boolean hasType(IXMLLink typeToCheck)
typeToCheck - type to compare
true if the types are equivalent,
false otherwisepublic boolean isEqual(IConnector ConnectorToCheck)
ConnectorToCheck - Connector to compare with this
one.public boolean isEquivalent(IConnector ConnectorToCheck)
ConnectorToCheck - Connector to compare to this one.
true if all the child elements of this
Connector 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 | |||||||||