Interface IPropertyType
-
- All Superinterfaces:
IAbstractType
,IPropertyTypeImmutable
- All Known Implementing Classes:
PropertyType
public interface IPropertyType extends IPropertyTypeImmutable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setDescription(java.lang.String description)
Set the description for this property type.void
setInternalNamespace(boolean isInternalNamespace)
Property of internal names receive a special prefix to avoid naming conflicts with user-defined property types.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 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
void setDescription(java.lang.String description)
Set the description for this property type. This is a mandatory parameter and must not be left emtpy when creating newIPropertyType
-s.
-
setLabel
void setLabel(java.lang.String label)
Set the label for this property type. This is a mandatory parameter and must not be left emtpy when creating newIPropertyType
-s.
-
setMaterialType
void setMaterialType(IMaterialTypeImmutable materialType)
Set the material type. Mandatory whenDataType
is MATERIAL.
-
setVocabulary
void setVocabulary(IVocabularyImmutable vocabulary)
Set the associated vocabulary. Mandatory whenDataType
is CONTROLLEDVOCABULARY.
-
setXmlSchema
void setXmlSchema(java.lang.String schema)
Set an XSD used to verify the validity of properties with XMLDataType
.
-
setTransformation
void setTransformation(java.lang.String xsltTransformation)
Set an XSLT transformation to be applied to properties of XMLDataType
before rendering in the UI.
-
setManagedInternally
void setManagedInternally(boolean isManagedInternally)
-
setInternalNamespace
void setInternalNamespace(boolean isInternalNamespace)
Property of internal names receive a special prefix to avoid naming conflicts with user-defined property types.
-
-