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.String
getPropertyTypeCode()
Return the code (or name) of the managed property.IManagedUiDescription
getUiDescription()
Return an object which allows to manage data for the user interface (input as well as output).java.lang.String
getValue()
Returns the current value of the property.boolean
isOwnTab()
Returns true if the detailed view of the entity owning the property will show the managed property in an extra tab.boolean
isSpecialValue()
Returnstrue
if the value is special, that is either a place-holder value or an error message.static boolean
isSpecialValue(java.lang.String valueOrNull)
void
setOwnTab(boolean ownTab)
Sets whether managed property is shown in an extra tab or not.void
setPropertyTypeCode(java.lang.String propertyTypeCode)
void
setValue(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:IManagedProperty
Returns true if the detailed view of the entity owning the property will show the managed property in an extra tab.- Specified by:
isOwnTab
in interfaceIManagedProperty
-
setOwnTab
public void setOwnTab(boolean ownTab)
Description copied from interface:IManagedProperty
Sets whether managed property is shown in an extra tab or not.- Specified by:
setOwnTab
in interfaceIManagedProperty
-
getUiDescription
public IManagedUiDescription getUiDescription()
Description copied from interface:IManagedProperty
Return an object which allows to manage data for the user interface (input as well as output).- Specified by:
getUiDescription
in interfaceIManagedProperty
-
getPropertyTypeCode
public java.lang.String getPropertyTypeCode()
Description copied from interface:IManagedProperty
Return the code (or name) of the managed property.- Specified by:
getPropertyTypeCode
in interfaceIManagedProperty
-
setPropertyTypeCode
public void setPropertyTypeCode(java.lang.String propertyTypeCode)
-
getValue
public java.lang.String getValue()
Description copied from interface:IManagedProperty
Returns the current value of the property.- Specified by:
getValue
in interfaceIManagedProperty
-
isSpecialValue
public boolean isSpecialValue()
Description copied from interface:IManagedProperty
Returnstrue
if the value is special, that is either a place-holder value or an error message.- Specified by:
isSpecialValue
in interfaceIManagedProperty
-
setValue
public void setValue(java.lang.String value)
Description copied from interface:IManagedProperty
Set the value of the property.- Specified by:
setValue
in interfaceIManagedProperty
-
-