org.omg.dds.type.typeobject
Interface EnumeratedConstant

All Superinterfaces:
java.lang.Cloneable, DDSObject, ModifiableValue<EnumeratedConstant,EnumeratedConstant>, java.io.Serializable, Value<EnumeratedConstant,EnumeratedConstant>

@Extensibility(value=EXTENSIBLE_EXTENSIBILITY)
@Nested
public interface EnumeratedConstant
extends ModifiableValue<EnumeratedConstant,EnumeratedConstant>


Method Summary
 java.lang.String getName()
           
 int getValue()
           
 EnumeratedConstant setName(java.lang.String name)
           
 EnumeratedConstant setValue(int value)
           
 
Methods inherited from interface org.omg.dds.core.modifiable.ModifiableValue
clone, copyFrom, finishModification
 
Methods inherited from interface org.omg.dds.core.Value
equals, hashCode, modify
 
Methods inherited from interface org.omg.dds.core.DDSObject
getBootstrap
 

Method Detail

setValue

EnumeratedConstant setValue(int value)
Parameters:
value - the value to set
Returns:
this

getValue

int getValue()
Returns:
the value

setName

EnumeratedConstant setName(java.lang.String name)
Parameters:
name - the name to set
Returns:
this

getName

java.lang.String getName()
Returns:
the name


Copyright © 2010 Real-Time Innovations, Inc. (RTI)
Copyright © 2010 PrismTech, Ltd.
Copyright © 2010 Object Management Group, Inc. (OMG)
All Rights Reserved.