Class ManagedProperty
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.ManagedProperty
-
- All Implemented Interfaces:
IManagedProperty,java.io.Serializable
public class ManagedProperty extends java.lang.Object implements IManagedProperty
A holder of information specific to a managed property value.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ManagedProperty()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetPropertyTypeCode()Return the code (or name) of the managed property.IManagedUiDescriptiongetUiDescription()Return an object which allows to manage data for the user interface (input as well as output).java.lang.StringgetValue()Returns the current value of the property.booleanisOwnTab()Returns true if the detailed view of the entity owning the property will show the managed property in an extra tab.booleanisSpecialValue()Returnstrueif the value is special, that is either a place-holder value or an error message.static booleanisSpecialValue(java.lang.String valueOrNull)voidsetOwnTab(boolean ownTab)Sets whether managed property is shown in an extra tab or not.voidsetPropertyTypeCode(java.lang.String propertyTypeCode)voidsetValue(java.lang.String value)Set the value of the property.
-
-
-
Method Detail
-
isSpecialValue
public static boolean isSpecialValue(java.lang.String valueOrNull)
-
isOwnTab
public boolean isOwnTab()
Description copied from interface:IManagedPropertyReturns true if the detailed view of the entity owning the property will show the managed property in an extra tab.- Specified by:
isOwnTabin interfaceIManagedProperty
-
setOwnTab
public void setOwnTab(boolean ownTab)
Description copied from interface:IManagedPropertySets whether managed property is shown in an extra tab or not.- Specified by:
setOwnTabin interfaceIManagedProperty
-
getUiDescription
public IManagedUiDescription getUiDescription()
Description copied from interface:IManagedPropertyReturn an object which allows to manage data for the user interface (input as well as output).- Specified by:
getUiDescriptionin interfaceIManagedProperty
-
getPropertyTypeCode
public java.lang.String getPropertyTypeCode()
Description copied from interface:IManagedPropertyReturn the code (or name) of the managed property.- Specified by:
getPropertyTypeCodein interfaceIManagedProperty
-
setPropertyTypeCode
public void setPropertyTypeCode(java.lang.String propertyTypeCode)
-
getValue
public java.lang.String getValue()
Description copied from interface:IManagedPropertyReturns the current value of the property.- Specified by:
getValuein interfaceIManagedProperty
-
isSpecialValue
public boolean isSpecialValue()
Description copied from interface:IManagedPropertyReturnstrueif the value is special, that is either a place-holder value or an error message.- Specified by:
isSpecialValuein interfaceIManagedProperty
-
setValue
public void setValue(java.lang.String value)
Description copied from interface:IManagedPropertySet the value of the property.- Specified by:
setValuein interfaceIManagedProperty
-
-