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.voidSets 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 Java.
-
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:
NoSuchFieldExceptionRuntimeException- API:
- This public API is available in Java.
-
clone
Clones this object.- Specified by:
clonein interfaceIIvyDataObject- Overrides:
clonein classNestedObject- Returns:
- a shadow clone.
- See Also:
- API:
- This public API is available in Java.
-
deepClone
Description copied from class:NestedObjectCreates a deep clone.- Specified by:
deepClonein interfaceIIvyDataObject- Overrides:
deepClonein classNestedObject- Returns:
- a deep clone.
- See Also:
- API:
- This public API is available in Java.
-