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 voidsetDescription(java.lang.String description)Set the description for this property type.voidsetInternalNamespace(boolean isInternalNamespace)Deprecated.voidsetLabel(java.lang.String label)Set the label for this property type.voidsetManagedInternally(boolean isManagedInternally)voidsetMaterialType(IMaterialTypeImmutable materialType)Set the material type.voidsetTransformation(java.lang.String xsltTransformation)Set an XSLT transformation to be applied to properties of XMLDataTypebefore rendering in the UI.voidsetVocabulary(IVocabularyImmutable vocabulary)Set the associated vocabulary.voidsetXmlSchema(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:IPropertyTypeSet the description for this property type. This is a mandatory parameter and must not be left emtpy when creating newIPropertyType-s.- Specified by:
setDescriptionin interfaceIPropertyType
-
setLabel
public void setLabel(java.lang.String label)
Description copied from interface:IPropertyTypeSet the label for this property type. This is a mandatory parameter and must not be left emtpy when creating newIPropertyType-s.- Specified by:
setLabelin interfaceIPropertyType
-
setMaterialType
public void setMaterialType(IMaterialTypeImmutable materialType)
Description copied from interface:IPropertyTypeSet the material type. Mandatory whenDataTypeis MATERIAL.- Specified by:
setMaterialTypein interfaceIPropertyType
-
setXmlSchema
public void setXmlSchema(java.lang.String schema)
Description copied from interface:IPropertyTypeSet an XSD used to verify the validity of properties with XMLDataType.- Specified by:
setXmlSchemain interfaceIPropertyType
-
setTransformation
public void setTransformation(java.lang.String xsltTransformation)
Description copied from interface:IPropertyTypeSet an XSLT transformation to be applied to properties of XMLDataTypebefore rendering in the UI.- Specified by:
setTransformationin interfaceIPropertyType
-
setManagedInternally
public void setManagedInternally(boolean isManagedInternally)
- Specified by:
setManagedInternallyin interfaceIPropertyType
-
setInternalNamespace
@Deprecated public void setInternalNamespace(boolean isInternalNamespace)
Deprecated.Description copied from interface:IPropertyTypeProperty of internal names receive a special prefix to avoid naming conflicts with user-defined property types.- Specified by:
setInternalNamespacein interfaceIPropertyType
-
setVocabulary
public void setVocabulary(IVocabularyImmutable vocabulary)
Description copied from interface:IPropertyTypeSet the associated vocabulary. Mandatory whenDataTypeis CONTROLLEDVOCABULARY.- Specified by:
setVocabularyin interfaceIPropertyType
-
-