xArch/xADL 2.0 Data Binding Library

edu.uci.isr.xarch.messages
Interface INamedProperty

All Superinterfaces:
IXArchElement
All Known Implementing Classes:
NamedPropertyImpl

public interface INamedProperty
extends IXArchElement

Interface for accessing objects of the NamedProperty xsi:type in the messages namespace.

Author:
Automatically generated by xArch apigen

Field Summary
static XArchTypeMetadata TYPE_METADATA
           
 
Fields inherited from interface edu.uci.isr.xarch.IXArchElement
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO
 
Method Summary
 void clearName()
          Clear the name from this NamedProperty.
 void clearValue()
          Clear the value from this NamedProperty.
 IPropertyName getName()
          Get the name from this NamedProperty.
 IPropertyValue getValue()
          Get the value from this NamedProperty.
 boolean hasName(IPropertyName nameToCheck)
          Determine if this NamedProperty has the given name
 boolean hasValue(IPropertyValue valueToCheck)
          Determine if this NamedProperty has the given value
 boolean isEquivalent(INamedProperty NamedPropertyToCheck)
          Determine if another NamedProperty is equivalent to this one, ignoring ID's.
 void setName(IPropertyName value)
          Set the name for this NamedProperty.
 void setValue(IPropertyValue value)
          Set the value for this NamedProperty.
 
Methods inherited from interface edu.uci.isr.xarch.IXArchElement
cloneElement, getInstanceMetadata, getTypeMetadata, getXArch, setXArch
 

Field Detail

TYPE_METADATA

public static final XArchTypeMetadata TYPE_METADATA
Method Detail

setName

public void setName(IPropertyName value)
Set the name for this NamedProperty.

Parameters:
value - new name

clearName

public void clearName()
Clear the name from this NamedProperty.


getName

public IPropertyName getName()
Get the name from this NamedProperty.

Returns:
name

hasName

public boolean hasName(IPropertyName nameToCheck)
Determine if this NamedProperty has the given name

Parameters:
nameToCheck - name to compare
Returns:
true if the names are equivalent, false otherwise

setValue

public void setValue(IPropertyValue value)
Set the value for this NamedProperty.

Parameters:
value - new value

clearValue

public void clearValue()
Clear the value from this NamedProperty.


getValue

public IPropertyValue getValue()
Get the value from this NamedProperty.

Returns:
value

hasValue

public boolean hasValue(IPropertyValue valueToCheck)
Determine if this NamedProperty has the given value

Parameters:
valueToCheck - value to compare
Returns:
true if the values are equivalent, false otherwise

isEquivalent

public boolean isEquivalent(INamedProperty NamedPropertyToCheck)
Determine if another NamedProperty is equivalent to this one, ignoring ID's.

Parameters:
NamedPropertyToCheck - NamedProperty to compare to this one.
Returns:
true if all the child elements of this NamedProperty are equivalent, false otherwise.

xArch/xADL 2.0 Data Binding Library