xArch/xADL 2.0 Data Binding Library

edu.uci.isr.xarch.messages
Interface IMessageType

All Superinterfaces:
IXArchElement
All Known Implementing Classes:
MessageTypeImpl

public interface IMessageType
extends IXArchElement

Interface for accessing objects of the MessageType 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 clearValue()
          Remove the value for this MessageType.
 String getValue()
          Get the value for this MessageType.
 boolean hasValue(String value)
          Determine if this MessageType has the given value.
 boolean isEquivalent(IMessageType MessageTypeToCompare)
          Determine if another MessageType is equivalent to this one.
 void setValue(String value)
          Set the value for this MessageType.
 
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

setValue

public void setValue(String value)
Set the value for this MessageType.

Parameters:
value - Value to set.

clearValue

public void clearValue()
Remove the value for this MessageType.


getValue

public String getValue()
Get the value for this MessageType.

Returns:
value

hasValue

public boolean hasValue(String value)
Determine if this MessageType has the given value. Matching is done by string equality.

Returns:
true if they match, false otherwise.

isEquivalent

public boolean isEquivalent(IMessageType MessageTypeToCompare)
Determine if another MessageType is equivalent to this one.

Parameters:
MessageTypeToCompare - MessageType to compare against this one.
Returns:
true if their values are equivalent, false otherwise.

xArch/xADL 2.0 Data Binding Library