Class PropertyType
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.server.jython.api.v1.impl.PropertyTypeImmutable
-
- ch.systemsx.cisd.openbis.generic.server.jython.api.v1.impl.PropertyType
-
- All Implemented Interfaces:
IAbstractType
,IPropertyType
,IPropertyTypeImmutable
public class PropertyType extends PropertyTypeImmutable implements IPropertyType
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
setDescription(java.lang.String description)
Set the description for this property type.void
setInternalNamespace(boolean isInternalNamespace)
Deprecated.void
setLabel(java.lang.String label)
Set the label for this property type.void
setManagedInternally(boolean isManagedInternally)
void
setMaterialType(IMaterialTypeImmutable materialType)
Set the material type.void
setTransformation(java.lang.String xsltTransformation)
Set an XSLT transformation to be applied to properties of XMLDataType
before rendering in the UI.void
setVocabulary(IVocabularyImmutable vocabulary)
Set the associated vocabulary.void
setXmlSchema(java.lang.String schema)
Set an XSD used to verify the validity of properties with XMLDataType
.-
Methods inherited from class ch.systemsx.cisd.openbis.generic.server.jython.api.v1.impl.PropertyTypeImmutable
getCode, getDataType, getDescription, getLabel, getMaterialType, getTransformation, getVocabulary, getXmlSchema, isInternalNamespace, isManagedInternally
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ch.systemsx.cisd.openbis.generic.server.jython.api.v1.IAbstractType
getCode, getDescription
-
Methods inherited from interface ch.systemsx.cisd.openbis.generic.server.jython.api.v1.IPropertyTypeImmutable
getDataType, getLabel, getMaterialType, getTransformation, getVocabulary, getXmlSchema, isInternalNamespace, isManagedInternally
-
-
-
-
Method Detail
-
setDescription
public void setDescription(java.lang.String description)
Description copied from interface:IPropertyType
Set the description for this property type. This is a mandatory parameter and must not be left emtpy when creating newIPropertyType
-s.- Specified by:
setDescription
in interfaceIPropertyType
-
setLabel
public void setLabel(java.lang.String label)
Description copied from interface:IPropertyType
Set the label for this property type. This is a mandatory parameter and must not be left emtpy when creating newIPropertyType
-s.- Specified by:
setLabel
in interfaceIPropertyType
-
setMaterialType
public void setMaterialType(IMaterialTypeImmutable materialType)
Description copied from interface:IPropertyType
Set the material type. Mandatory whenDataType
is MATERIAL.- Specified by:
setMaterialType
in interfaceIPropertyType
-
setXmlSchema
public void setXmlSchema(java.lang.String schema)
Description copied from interface:IPropertyType
Set an XSD used to verify the validity of properties with XMLDataType
.- Specified by:
setXmlSchema
in interfaceIPropertyType
-
setTransformation
public void setTransformation(java.lang.String xsltTransformation)
Description copied from interface:IPropertyType
Set an XSLT transformation to be applied to properties of XMLDataType
before rendering in the UI.- Specified by:
setTransformation
in interfaceIPropertyType
-
setManagedInternally
public void setManagedInternally(boolean isManagedInternally)
- Specified by:
setManagedInternally
in interfaceIPropertyType
-
setInternalNamespace
@Deprecated public void setInternalNamespace(boolean isInternalNamespace)
Deprecated.Description copied from interface:IPropertyType
Property of internal names receive a special prefix to avoid naming conflicts with user-defined property types.- Specified by:
setInternalNamespace
in interfaceIPropertyType
-
setVocabulary
public void setVocabulary(IVocabularyImmutable vocabulary)
Description copied from interface:IPropertyType
Set the associated vocabulary. Mandatory whenDataType
is CONTROLLEDVOCABULARY.- Specified by:
setVocabulary
in interfaceIPropertyType
-
-