com.netflix.zeno.genericobject
Class GenericObject
java.lang.Object
com.netflix.zeno.genericobject.GenericObject
- All Implemented Interfaces:
- NFSerializationRecord
public class GenericObject
- extends java.lang.Object
- implements NFSerializationRecord
The GenericObject representation is used by the diff HTML generator.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericObject
public GenericObject(java.lang.String objectType,
java.lang.Object actualObject)
GenericObject
public GenericObject(java.lang.String objectType,
GenericObject.CollectionType collectionType,
java.lang.Object actualObject)
setCollectionPosition
public void setCollectionPosition(int position)
getCollectionPosition
public int getCollectionPosition()
add
public void add(java.lang.String fieldName,
java.lang.Object obj)
add
public void add(java.lang.String fieldName,
java.lang.Object obj,
int collectionPosition)
getObjectType
public java.lang.String getObjectType()
getCollectionType
public GenericObject.CollectionType getCollectionType()
getActualObject
public java.lang.Object getActualObject()
getFields
public java.util.List<GenericObject.Field> getFields()