Class UserType
- java.lang.Object
-
- es.bsc.dataclay.util.management.classmgr.Type
-
- es.bsc.dataclay.util.management.classmgr.UserType
-
public final class UserType extends Type
This class represents a User Type.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserType
cloneLanguageless()
Get a valid (identical) Type but without any LanguageDependant* stuff.MetaClassID
getClassID()
Get the Type::idString
getNamespace()
Get the Type::namespacevoid
setClassID(MetaClassID newclassID)
Set the Type::idvoid
setNamespace(String newnamespace)
Set the Type::namespace-
Methods inherited from class es.bsc.dataclay.util.management.classmgr.Type
addLanguageDepInfo, equals, getDescriptor, getId, getIncludes, getJavaTypeInfo, getLanguageDepInfos, getPythonTypeInfo, getSignature, getSignatureOrDescriptor, getTypeName, hashCode, setDescriptor, setId, setIncludes, setLanguageDepInfos, setSignature, setTypeName, toString
-
-
-
-
Field Detail
-
namespace
public String namespace
Namespace of type if not language type.
-
-
Constructor Detail
-
UserType
public UserType()
Creates an empty Type
-
UserType
public UserType(String newnamespace, String newtypename, String newdescriptor, String newsignature, List<Type> subTypes)
Type constructor with provided signature- Parameters:
newdescriptor
- Descriptor of the typenewsignature
- Signature of the typenewnamespace
- Namespace of the typenewtypename
- Type fully qualified namesubTypes
- Sub-types.
-
-
Method Detail
-
cloneLanguageless
public UserType cloneLanguageless()
Get a valid (identical) Type but without any LanguageDependant* stuff.- Returns:
- A stripped-down copy of the current Type See MetaClass::cloneLanguageless for some insight on the purpose.
-
getClassID
public MetaClassID getClassID()
Get the Type::id- Returns:
- the id
-
setClassID
public void setClassID(MetaClassID newclassID)
Set the Type::id- Parameters:
newclassID
- the id to set
-
getNamespace
public String getNamespace()
Get the Type::namespace- Returns:
- the namespace
-
setNamespace
public void setNamespace(String newnamespace)
Set the Type::namespace- Parameters:
newnamespace
- the namespace to set
-
-