Class Script
java.lang.Object
ru.cg.webbpm.studio.subsystems.page_designer.serialization.api.beans.Script
- All Implemented Interfaces:
ArrayItemWithPrototype<Script>,PropertyContext
- Author:
- Abdulin Ildar
-
Constructor Summary
ConstructorsConstructorDescriptionScript(String id, ClassRef classRef, Script prototype, ClassMetadata metadata, Map<String, PropertyValue> propertyValues) Script(String id, ClassRef classRef, Script prototype, ClassMetadata metadata, ComplexValue values) Script(ClassMetadata type) -
Method Summary
Modifier and TypeMethodDescriptioncopy()Create a copy of this elementbooleandeepEquals(Object o) Makes comparison for all instance attributesbooleangetId()Return object ID.getProperty(String name) Get the prototype of this objectinthashCode()inherit()Create a new object that inherits from this objectbooleanbooleanbooleanCheck if this object is marked as removed.voidMark object as removed, changing its state if needed TODO WEBBPMNEXT-5447 remove thisvoidsetEnabled(boolean b) voidsetExpanded(boolean expanded) voidsetRemoved(boolean removed)
-
Constructor Details
-
Script
public Script(String id, ClassRef classRef, Script prototype, ClassMetadata metadata, ComplexValue values) -
Script
public Script(String id, ClassRef classRef, Script prototype, ClassMetadata metadata, Map<String, PropertyValue> propertyValues) -
Script
-
-
Method Details
-
getId
Description copied from interface:ArrayItemWithPrototypeReturn object ID. It must be guaranteed that IDs are unique inside any list- Specified by:
getIdin interfaceArrayItemWithPrototype<Script>- Returns:
- object ID
-
getClassRef
-
getMetadata
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean b) -
setRemoved
public void setRemoved(boolean removed) -
isExpanded
public boolean isExpanded() -
setExpanded
public void setExpanded(boolean expanded) -
isRemoved
public boolean isRemoved()Description copied from interface:ArrayItemWithPrototypeCheck if this object is marked as removed. Removed objects are preserved for list inheritance- Specified by:
isRemovedin interfaceArrayItemWithPrototype<Script>- Returns:
- true if object is removed TODO WEBBPMNEXT-5447 remove this
-
markRemoved
public void markRemoved()Description copied from interface:ArrayItemWithPrototypeMark object as removed, changing its state if needed TODO WEBBPMNEXT-5447 remove this- Specified by:
markRemovedin interfaceArrayItemWithPrototype<Script>
-
getPrototype
Description copied from interface:ArrayItemWithPrototypeGet the prototype of this object- Specified by:
getPrototypein interfaceArrayItemWithPrototype<Script>- Returns:
- object's prototype
-
inherit
Description copied from interface:ArrayItemWithPrototypeCreate a new object that inherits from this object- Specified by:
inheritin interfaceArrayItemWithPrototype<Script>- Returns:
- new object
-
copy
Description copied from interface:ArrayItemWithPrototypeCreate a copy of this element- Specified by:
copyin interfaceArrayItemWithPrototype<Script>- Returns:
- shallow copy of the element TODO WEBBPMNEXT-5447 revise this
-
getProperties
- Specified by:
getPropertiesin interfacePropertyContext
-
equals
-
hashCode
public int hashCode() -
deepEquals
Description copied from interface:ArrayItemWithPrototypeMakes comparison for all instance attributes- Specified by:
deepEqualsin interfaceArrayItemWithPrototype<Script>- Returns:
- true if equals
-
getProperty
-