Package gw.lang.parser
Class ScriptPartId
- java.lang.Object
-
- gw.lang.parser.IScriptPartId
-
- gw.lang.parser.ScriptPartId
-
public class ScriptPartId extends IScriptPartId
-
-
Field Summary
Fields Modifier and Type Field Description private IGosuClass_runtimeTypeprivate java.lang.String_strPartIdprivate IType_typeprivate java.lang.String_typeName
-
Constructor Summary
Constructors Constructor Description ScriptPartId(IType type, java.lang.String strPartId)ScriptPartId(java.lang.String strFqType, java.lang.String strPartId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)ITypegetContainingType()java.lang.StringgetContainingTypeName()java.lang.StringgetId()IGosuClassgetRuntimeType()inthashCode()voidsetRuntimeType(IGosuClass runtimeType)java.lang.StringtoString()
-
-
-
Field Detail
-
_type
private final IType _type
-
_strPartId
private final java.lang.String _strPartId
-
_typeName
private final java.lang.String _typeName
-
_runtimeType
private IGosuClass _runtimeType
-
-
Constructor Detail
-
ScriptPartId
public ScriptPartId(IType type, java.lang.String strPartId)
-
ScriptPartId
public ScriptPartId(java.lang.String strFqType, java.lang.String strPartId)
-
-
Method Detail
-
setRuntimeType
public void setRuntimeType(IGosuClass runtimeType)
- Specified by:
setRuntimeTypein classIScriptPartId
-
getRuntimeType
public IGosuClass getRuntimeType()
- Specified by:
getRuntimeTypein classIScriptPartId
-
getContainingTypeName
public java.lang.String getContainingTypeName()
- Specified by:
getContainingTypeNamein classIScriptPartId- Returns:
- The name of the type that contains this part.
-
getContainingType
public IType getContainingType()
- Specified by:
getContainingTypein classIScriptPartId- Returns:
- The type that contains this part.
-
getId
public java.lang.String getId()
- Specified by:
getIdin classIScriptPartId- Returns:
- An id that distinguishes this part from other parts in the containing type.
-
toString
public java.lang.String toString()
- Specified by:
toStringin classIScriptPartId
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-