Package ch.ivyteam.ivy.scripting.objects
Class NestedObject
- java.lang.Object
-
- ch.ivyteam.ivy.scripting.objects.NestedObject
-
- All Implemented Interfaces:
IIvyDataObject
,Serializable
,Cloneable
- Direct Known Subclasses:
CompositeObject
,List
,Record
,Recordset
,Tree
abstract class NestedObject extends Object implements IIvyDataObject
An abstract basis class for Ivy objects containing other objects.- API:
- This is a public API.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NestedObject
clone()
Clones the object (shallow clone).NestedObject
deepClone()
Creates a deep clone.boolean
equals(Object anObject)
int
hashCode()
String
toString()
Returns a Stringrepresentation of an object.
-
-
-
Method Detail
-
clone
public NestedObject clone()
Description copied from interface:IIvyDataObject
Clones the object (shallow clone).- Specified by:
clone
in interfaceIIvyDataObject
- Returns:
- A shallow clone.
- See Also:
Object.clone()
- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
deepClone
public NestedObject deepClone()
Creates a deep clone.- Specified by:
deepClone
in interfaceIIvyDataObject
- Returns:
- a deep clone.
- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
equals
public final boolean equals(Object anObject)
- See Also:
Object.equals(java.lang.Object)
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
hashCode
public final int hashCode()
- See Also:
Object.hashCode()
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
toString
public final String toString()
Returns a Stringrepresentation of an object. The length is bounded.- See Also:
Object.toString()
- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
-