org.siebengeisslein.ide.data
Class GlobalDataType

java.lang.Object
  extended by org.siebengeisslein.client.Persistent
      extended by org.siebengeisslein.ide.data.AbstractGlobalVarType
          extended by org.siebengeisslein.ide.data.GlobalDataType
All Implemented Interfaces:
Instrumented, PType

public class GlobalDataType
extends AbstractGlobalVarType


Constructor Summary
GlobalDataType(TypeManager typeManager, DataDirectory data)
           
 
Method Summary
 int distanceFrom(PType type)
           
 java.util.List<PField> getAllFields()
           
 PMethod getConstructor(java.util.List<PType> name)
           
 PField getField(java.lang.String name)
           
 java.util.Set<PType> getImplementedTypes()
           
 java.lang.String getName()
           
 TypeSort getSort()
          This is needed for the indices of the type manager.
 boolean isAbstract()
           
 
Methods inherited from class org.siebengeisslein.ide.data.AbstractGlobalVarType
getAllMethods, getDescriptor, getInitialValue, getMethod, getSuperClass, getType, getTypeManager, isAssignableFrom, isInterface, visitConvertFromObject, visitConvertToObject
 
Methods inherited from class org.siebengeisslein.client.Persistent
abort, clearUserLocals, clone, commit, disposeTransient, getGroup, getRef, getTransientValue, hashCode, initTransient, isWriteTransaction, joinWriteTransaction, readLock, setGroup, setTransientValue, toPersistent, toRef, writeExternal, writeLock
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobalDataType

public GlobalDataType(TypeManager typeManager,
                      DataDirectory data)
Method Detail

getField

public PField getField(java.lang.String name)
Returns:
field or null if this type does not have a field with name 'name'

distanceFrom

public int distanceFrom(PType type)

getConstructor

public PMethod getConstructor(java.util.List<PType> name)

getName

public java.lang.String getName()

isAbstract

public boolean isAbstract()

getSort

public TypeSort getSort()
Description copied from interface: PType
This is needed for the indices of the type manager.


getImplementedTypes

public java.util.Set<PType> getImplementedTypes()

getAllFields

public java.util.List<PField> getAllFields()
Specified by:
getAllFields in interface PType
Overrides:
getAllFields in class AbstractGlobalVarType