Class ScriptImmutable
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.server.jython.api.v1.impl.ScriptImmutable
-
- All Implemented Interfaces:
IAbstractType,IScriptImmutable
- Direct Known Subclasses:
Script
public class ScriptImmutable extends java.lang.Object implements IScriptImmutable
-
-
Field Summary
Fields Modifier and Type Field Description protected ch.systemsx.cisd.openbis.generic.shared.basic.dto.Scriptscript
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(ch.systemsx.cisd.openbis.generic.shared.basic.dto.Script o)java.lang.StringgetCode()Returns the type code.ch.systemsx.cisd.openbis.generic.shared.basic.dto.DatabaseInstancegetDatabaseInstance()java.lang.StringgetDescription()Get the description for this script.java.lang.StringgetEntity()Get the entity of the script.java.lang.LonggetId()java.lang.StringgetName()Get the name for this script.java.lang.StringgetScript()Get the script itself.java.lang.StringgetScriptType()Get the type of script.java.lang.StringtoString()
-
-
-
Method Detail
-
getEntity
public java.lang.String getEntity()
Description copied from interface:IScriptImmutableGet the entity of the script. The values can be EXPERIMENT, SAMPLE, DATA_SET, MATERIAL.- Specified by:
getEntityin interfaceIScriptImmutable
-
getDescription
public java.lang.String getDescription()
Description copied from interface:IScriptImmutableGet the description for this script.- Specified by:
getDescriptionin interfaceIAbstractType- Specified by:
getDescriptionin interfaceIScriptImmutable
-
getName
public java.lang.String getName()
Description copied from interface:IScriptImmutableGet the name for this script.- Specified by:
getNamein interfaceIScriptImmutable
-
getScript
public java.lang.String getScript()
Description copied from interface:IScriptImmutableGet the script itself.- Specified by:
getScriptin interfaceIScriptImmutable
-
getDatabaseInstance
public ch.systemsx.cisd.openbis.generic.shared.basic.dto.DatabaseInstance getDatabaseInstance()
-
getId
public java.lang.Long getId()
-
getScriptType
public java.lang.String getScriptType()
Description copied from interface:IScriptImmutableGet the type of script. The values can be either DYNAMIC or MANAGED- Specified by:
getScriptTypein interfaceIScriptImmutable
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
compareTo
public int compareTo(ch.systemsx.cisd.openbis.generic.shared.basic.dto.Script o)
-
getCode
public java.lang.String getCode()
Description copied from interface:IAbstractTypeReturns the type code.- Specified by:
getCodein interfaceIAbstractType
-
-