org.openorb.pss.compiler.object
Class PsdlState

java.lang.Object
  extended by org.openorb.compiler.object.IdlObject
      extended by org.openorb.pss.compiler.object.PsdlState
All Implemented Interfaces:
java.io.Serializable, org.openorb.compiler.idl.reflect.idlObject, psdlState

public class PsdlState
extends org.openorb.compiler.object.IdlObject
implements psdlState

This class manages state for PSDL

Author:
Jerome Daniel
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openorb.compiler.object.IdlObject
_case_sensitive, _comment, _current, _diese, _has_inheritance, _id, _import, _is_container, _list, _map, _name, _opaque, _prefix, _prefix_explicit, _type, _underscore, _upper, adaptName
 
Constructor Summary
PsdlState(org.openorb.compiler.object.IdlObject father)
          Constructor
 
Method Summary
 int idlType()
           
 boolean isImmutable()
          Return TRUE if the state type is immutable
 boolean isReadOnly()
          Return TRUE if this state is marked as 'readonly'
 boolean isRef()
          Return TRUE if the state type is a reference
 boolean readonly()
          Get the readonly flag
 void readonly(boolean rd)
          Set the readonly flag
 org.openorb.compiler.idl.reflect.idlObject stateType()
          Return the state type
 
Methods inherited from class org.openorb.compiler.object.IdlObject
adaptName, addIdlObject, applyPrefix, attach_comment, attach_comment, changePrefix, contains, containsObject, content, current, end, filter, final_kind, final_object, getComment, getId, getIdComponents, getParser, getPrefix, getPrefixDepth, hasComment, idlConcreteType, idlDefinedIn, idlFinalType, idlID, idlName, included, insertIdlObject, into, isDefined, isSame, isVisible, kind, length, myScope, name, name, nameToSequence, next, opaque, opaque, pos, pos, refreshIncluded, reset, returnInheritedObject, returnObject, returnVisibleObject, root, sameAs, search, searchObject, sensitive, setId, switchFinalObject, toString, type, type, upper, use_diese, use_diese
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openorb.compiler.idl.reflect.idlObject
containsObject, content, filter, idlConcreteType, idlDefinedIn, idlFinalType, idlID, idlName, included
 

Constructor Detail

PsdlState

public PsdlState(org.openorb.compiler.object.IdlObject father)
Constructor

Method Detail

readonly

public void readonly(boolean rd)
Set the readonly flag


readonly

public boolean readonly()
Get the readonly flag


isReadOnly

public boolean isReadOnly()
Return TRUE if this state is marked as 'readonly'

Specified by:
isReadOnly in interface psdlState

stateType

public org.openorb.compiler.idl.reflect.idlObject stateType()
Return the state type

Specified by:
stateType in interface psdlState

idlType

public int idlType()
Specified by:
idlType in interface org.openorb.compiler.idl.reflect.idlObject
Overrides:
idlType in class org.openorb.compiler.object.IdlObject

isImmutable

public boolean isImmutable()
Return TRUE if the state type is immutable

Specified by:
isImmutable in interface psdlState

isRef

public boolean isRef()
Return TRUE if the state type is a reference

Specified by:
isRef in interface psdlState