Interface IPropertyAssignment
-
- All Superinterfaces:
IPropertyAssignmentImmutable
- All Known Implementing Classes:
PropertyAssignment
public interface IPropertyAssignment extends IPropertyAssignmentImmutable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setDefaultValue(java.lang.String defaultValue)
Any already existing entity types will receive the specified default value.void
setDynamic(boolean dynamic)
Set totrue
if the dynamic property is handled by a script.void
setManaged(boolean managed)
Set totrue
if the managed property is handled by a script.void
setMandatory(boolean mandatory)
Set totrue
if the property is mandatory for the assigned entity type.void
setPositionInForms(java.lang.Long position)
Sets the position where the property will appear in forms.void
setScriptName(java.lang.String scriptName)
If handled by a script, the name is set here as a reference.void
setSection(java.lang.String section)
Set the name of the form section.void
setShownEdit(boolean edit)
Set totrue
if the sript-handled property should be shown in the edit mode.-
Methods inherited from interface ch.systemsx.cisd.openbis.generic.server.jython.api.v1.IPropertyAssignmentImmutable
getEntityKind, getEntityTypeCode, getPositionInForms, getPropertyTypeCode, getScriptName, getSection, isDynamic, isManaged, isMandatory, shownInEditViews
-
-
-
-
Method Detail
-
setMandatory
void setMandatory(boolean mandatory)
Set totrue
if the property is mandatory for the assigned entity type.
-
setSection
void setSection(java.lang.String section)
Set the name of the form section. It will appear when editing objects of the specified entity in openBIS. Specifying a section name is optional.
-
setDefaultValue
void setDefaultValue(java.lang.String defaultValue)
Any already existing entity types will receive the specified default value.
-
setPositionInForms
void setPositionInForms(java.lang.Long position)
Sets the position where the property will appear in forms. If not specified the property will be displayed at the bottom of the form.
-
setScriptName
void setScriptName(java.lang.String scriptName)
If handled by a script, the name is set here as a reference.
-
setDynamic
void setDynamic(boolean dynamic)
Set totrue
if the dynamic property is handled by a script.
-
setManaged
void setManaged(boolean managed)
Set totrue
if the managed property is handled by a script.
-
setShownEdit
void setShownEdit(boolean edit)
Set totrue
if the sript-handled property should be shown in the edit mode.
-
-