org.siebengeisslein.pclass
Class ExternalPType
java.lang.Object
org.siebengeisslein.client.Persistent
org.siebengeisslein.pclass.AbstractRefPType
org.siebengeisslein.pclass.ExternalPType
- All Implemented Interfaces:
- Instrumented, PType
public class ExternalPType
- extends AbstractRefPType
- implements PType
| Methods inherited from class org.siebengeisslein.client.Persistent |
abort, clearUserLocals, clone, commit, disposeTransient, getGroup, getRef, getTransientValue, initTransient, isWriteTransaction, joinWriteTransaction, readLock, setGroup, setTransientValue, toPersistent, toRef, writeExternal, writeLock |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
ExternalPType
public ExternalPType(TypeManager manager,
java.lang.String classname)
ExternalPType
public ExternalPType(TypeManager typeManager,
java.lang.Class clazz)
getClassname
public java.lang.String getClassname()
- Specified by:
getClassname in class AbstractRefPType
getMethod
public PMethod getMethod(java.lang.String name,
java.util.List<PType> params)
- Specified by:
getMethod in interface PType
getConstructor
public PMethod getConstructor(java.util.List<PType> params)
- Specified by:
getConstructor in interface PType
getAllMethods
public java.util.List<PMethod> getAllMethods()
- Specified by:
getAllMethods in interface PType
getAllConstructors
public java.util.List<PMethod> getAllConstructors()
getAsClass
public java.lang.Class getAsClass()
getField
public PField getField(java.lang.String name)
- Specified by:
getField in interface PType
- Returns:
- field or null if this type does not have a field
with name 'name'
getSuperClass
public AbstractRefPType getSuperClass()
- Specified by:
getSuperClass in interface PType- Specified by:
getSuperClass in class AbstractRefPType
- Returns:
- superclass or null if this type does not have a superclass (object/basic/void types).
isInterface
public boolean isInterface()
- Specified by:
isInterface in interface PType
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getAllFields
public java.util.List<PField> getAllFields()
- Specified by:
getAllFields in interface PType
getName
public java.lang.String getName()
- Specified by:
getName in interface PType
getImplementedInterfaces
public java.util.List<AbstractRefPType> getImplementedInterfaces()
- Specified by:
getImplementedInterfaces in class AbstractRefPType
getTypeManager
public TypeManager getTypeManager()
- Specified by:
getTypeManager in interface PType
isAbstract
public boolean isAbstract()
- Specified by:
isAbstract in interface PType
getSort
public TypeSort getSort()
- Description copied from interface:
PType
- This is needed for the indices of the type manager.
- Specified by:
getSort in interface PType