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.Script
script
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(ch.systemsx.cisd.openbis.generic.shared.basic.dto.Script o)
java.lang.String
getCode()
Returns the type code.ch.systemsx.cisd.openbis.generic.shared.basic.dto.DatabaseInstance
getDatabaseInstance()
java.lang.String
getDescription()
Get the description for this script.java.lang.String
getEntity()
Get the entity of the script.java.lang.Long
getId()
java.lang.String
getName()
Get the name for this script.java.lang.String
getScript()
Get the script itself.java.lang.String
getScriptType()
Get the type of script.java.lang.String
toString()
-
-
-
Method Detail
-
getEntity
public java.lang.String getEntity()
Description copied from interface:IScriptImmutable
Get the entity of the script. The values can be EXPERIMENT, SAMPLE, DATA_SET, MATERIAL.- Specified by:
getEntity
in interfaceIScriptImmutable
-
getDescription
public java.lang.String getDescription()
Description copied from interface:IScriptImmutable
Get the description for this script.- Specified by:
getDescription
in interfaceIAbstractType
- Specified by:
getDescription
in interfaceIScriptImmutable
-
getName
public java.lang.String getName()
Description copied from interface:IScriptImmutable
Get the name for this script.- Specified by:
getName
in interfaceIScriptImmutable
-
getScript
public java.lang.String getScript()
Description copied from interface:IScriptImmutable
Get the script itself.- Specified by:
getScript
in 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:IScriptImmutable
Get the type of script. The values can be either DYNAMIC or MANAGED- Specified by:
getScriptType
in interfaceIScriptImmutable
-
toString
public java.lang.String toString()
- Overrides:
toString
in 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:IAbstractType
Returns the type code.- Specified by:
getCode
in interfaceIAbstractType
-
-