org.eclipse.tptp.wsdm.tooling.editor.capability.pages.property.internal
Class DataType
java.lang.Object
org.eclipse.tptp.wsdm.tooling.editor.capability.pages.property.internal.DataType
- public class DataType
- extends java.lang.Object
Class to represents the data type.
|
Constructor Summary |
DataType(java.lang.String typeName,
org.eclipse.xsd.XSDTypeDefinition typeDefinition)
Creats a new object of this class. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataType
public DataType(java.lang.String typeName,
org.eclipse.xsd.XSDTypeDefinition typeDefinition)
- Creats a new object of this class.
- Parameters:
typeName - Name of the new data type.typeDefinition - XSDTypeDefinition of the new data type.
getTypeName
public java.lang.String getTypeName()
- Returns:
- TypeName.
getTypeDefinition
public org.eclipse.xsd.XSDTypeDefinition getTypeDefinition()
- Returns:
- XSDTypeDefinition.
setTypeName
public void setTypeName(java.lang.String typeName)
setTypeDefinition
public void setTypeDefinition(org.eclipse.xsd.XSDTypeDefinition typeDefinition)