aspoev.interpreter.base
Class CompoundTypeReferenceElement
java.lang.Object
aspoev.interpreter.base.Element
aspoev.interpreter.base.StatementElement
aspoev.interpreter.base.RValuedElement
aspoev.interpreter.base.TypeReferenceElement
aspoev.interpreter.base.CompoundTypeReferenceElement
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Comparable, aspoev.Executable, pJ.jasmine.PRI, java.io.Serializable
- public class CompoundTypeReferenceElement
- extends TypeReferenceElement
- implements pJ.jasmine.PRI
- See Also:
- Serialized Form
| Fields inherited from class aspoev.interpreter.base.TypeReferenceElement |
BINDING, BOOLEAN, DOUBLE, JAVA_OBJECT, LIST, MAP, nameSpace, SET, STRING, typeName, version, VOID |
| Fields inherited from class aspoev.interpreter.base.Element |
parent |
| Fields inherited from interface pJ.jasmine.PRI |
DELETECHANGE, MODIFYCHANGE, NOCHANGE |
| Methods inherited from class aspoev.interpreter.base.TypeReferenceElement |
create, create, create, create, equals, equals, getClassDeclaration, getSubclasses, hasCommonBaseType, hashCode, isJavaType, isPrimitive, newVersion, newVersion, typeObject |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
typeOne
protected TypeReferenceElement typeOne
typeTwo
protected TypeReferenceElement typeTwo
CompoundTypeReferenceElement
public CompoundTypeReferenceElement(TypeReferenceElement one,
TypeReferenceElement two)
clone
public java.lang.Object clone()
- Overrides:
clone in class TypeReferenceElement
assignableFrom
public boolean assignableFrom(TypeReferenceElement otherType)
- Description copied from class:
TypeReferenceElement
- This is an aspect binding point. While some schema managers will
allow different versions of the same type to be assigned to each
other, some may not. Default implementation simply looks for the
argument type in this type's super types.
- Overrides:
assignableFrom in class TypeReferenceElement
compareTo
public int compareTo(java.lang.Object other)
- Description copied from class:
TypeReferenceElement
- Returns -1 if 'this' type is a lower version than 'other', 0
if the two types are equal, and 1 if 'this' tye is a higher
version than 'other'.
- Specified by:
compareTo in interface java.lang.Comparable- Overrides:
compareTo in class TypeReferenceElement
equals
public boolean equals(CompoundTypeReferenceElement other)
getChildrenByType
public java.util.Collection getChildrenByType(java.lang.Class childClass)
- Overrides:
getChildrenByType in class TypeReferenceElement
getCodeString
public java.lang.String getCodeString()
- Overrides:
getCodeString in class TypeReferenceElement
toString
public java.lang.String toString()
- Overrides:
toString in class TypeReferenceElement