Class PropertyTypeImmutable
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.server.jython.api.v1.impl.PropertyTypeImmutable
-
- All Implemented Interfaces:
IAbstractType
,IPropertyTypeImmutable
- Direct Known Subclasses:
PropertyType
public class PropertyTypeImmutable extends java.lang.Object implements IPropertyTypeImmutable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getCode()
Returns the type code.DataType
getDataType()
Return the data type of the property.java.lang.String
getDescription()
Returns the type description.java.lang.String
getLabel()
Return the property type label.IMaterialTypeImmutable
getMaterialType()
Returns the material type for properties with data typeDataType.MATERIAL
java.lang.String
getTransformation()
Return an XSLT transformation applied to properties with XMLDataType
.IVocabularyImmutable
getVocabulary()
Returns the vocabulary for properties with data typeDataType.CONTROLLEDVOCABULARY
java.lang.String
getXmlSchema()
Return an XSD used to verify the validity of properties with XMLDataType
.boolean
isInternalNamespace()
Deprecated.boolean
isManagedInternally()
-
-
-
Method Detail
-
getCode
public java.lang.String getCode()
Description copied from interface:IAbstractType
Returns the type code.- Specified by:
getCode
in interfaceIAbstractType
-
getDescription
public java.lang.String getDescription()
Description copied from interface:IAbstractType
Returns the type description.- Specified by:
getDescription
in interfaceIAbstractType
-
getLabel
public java.lang.String getLabel()
Description copied from interface:IPropertyTypeImmutable
Return the property type label.- Specified by:
getLabel
in interfaceIPropertyTypeImmutable
-
getDataType
public DataType getDataType()
Description copied from interface:IPropertyTypeImmutable
Return the data type of the property.- Specified by:
getDataType
in interfaceIPropertyTypeImmutable
-
getMaterialType
public IMaterialTypeImmutable getMaterialType()
Description copied from interface:IPropertyTypeImmutable
Returns the material type for properties with data typeDataType.MATERIAL
- Specified by:
getMaterialType
in interfaceIPropertyTypeImmutable
-
getXmlSchema
public java.lang.String getXmlSchema()
Description copied from interface:IPropertyTypeImmutable
Return an XSD used to verify the validity of properties with XMLDataType
. Returnnull
if the DataType is not XML or there is no schema set.- Specified by:
getXmlSchema
in interfaceIPropertyTypeImmutable
-
getTransformation
public java.lang.String getTransformation()
Description copied from interface:IPropertyTypeImmutable
Return an XSLT transformation applied to properties with XMLDataType
. Returnnull
if the DataType is not XML or there is no transformation set.- Specified by:
getTransformation
in interfaceIPropertyTypeImmutable
-
isManagedInternally
public boolean isManagedInternally()
- Specified by:
isManagedInternally
in interfaceIPropertyTypeImmutable
-
isInternalNamespace
public boolean isInternalNamespace()
Deprecated.- Specified by:
isInternalNamespace
in interfaceIPropertyTypeImmutable
-
getVocabulary
public IVocabularyImmutable getVocabulary()
Description copied from interface:IPropertyTypeImmutable
Returns the vocabulary for properties with data typeDataType.CONTROLLEDVOCABULARY
- Specified by:
getVocabulary
in interfaceIPropertyTypeImmutable
-
-