Package ch.ivyteam.ivy.scripting.objects
Class CompositeObject
java.lang.Object
ch.ivyteam.ivy.scripting.objects.NestedObject
ch.ivyteam.ivy.scripting.objects.CompositeObject
- All Implemented Interfaces:
AutoInitializable
,IIvyDataObject
,Serializable
,Cloneable
An CompositeObject is the base class for process data classes. They inherit from
CompositeObject, but are generated on the fly. So, here we do not see any sub classes
which could
- See Also:
- API:
- This is a public API.
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Clones this object.Creates a deep clone.Returns the value of a field.void
Sets the value of a field.Methods inherited from class ch.ivyteam.ivy.scripting.objects.NestedObject
equals, hashCode, toString
-
Method Details
-
get
Returns the value of a field.- Parameters:
fieldName
- The field name whose value should be returned.- Returns:
- The value of the given field.
- Throws:
NoSuchFieldException
- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
set
Sets the value of a field.- Parameters:
fieldName
- The name of the field whose value should be set.value
- The new field value.- Throws:
NoSuchFieldException
RuntimeException
- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
clone
Clones this object.- Specified by:
clone
in interfaceIIvyDataObject
- Overrides:
clone
in classNestedObject
- Returns:
- a shadow clone.
- See Also:
- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
deepClone
Description copied from class:NestedObject
Creates a deep clone.- Specified by:
deepClone
in interfaceIIvyDataObject
- Overrides:
deepClone
in classNestedObject
- Returns:
- a deep clone.
- See Also:
- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-