Class ManagedObjectIndexImpl
- java.lang.Object
-
- net.officefloor.frame.impl.execute.managedobject.ManagedObjectIndexImpl
-
- All Implemented Interfaces:
ManagedObjectIndex
public class ManagedObjectIndexImpl extends java.lang.Object implements ManagedObjectIndex
ManagedObjectIndex
implementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description ManagedObjectIndexImpl(ManagedObjectScope managedObjectScope, int indexOfManagedObjectWithinScope)
Initiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIndexOfManagedObjectWithinScope()
Obtains the index of theManagedObject
within theManagedObjectScope
.ManagedObjectScope
getManagedObjectScope()
Obtains theManagedObjectScope
that theManagedObject
resides within.java.lang.String
toString()
-
-
-
Constructor Detail
-
ManagedObjectIndexImpl
public ManagedObjectIndexImpl(ManagedObjectScope managedObjectScope, int indexOfManagedObjectWithinScope)
Initiate.- Parameters:
managedObjectScope
-ManagedObjectScope
.indexOfManagedObjectWithinScope
- Index of theManagedObject
within theManagedObjectScope
.
-
-
Method Detail
-
getManagedObjectScope
public ManagedObjectScope getManagedObjectScope()
Description copied from interface:ManagedObjectIndex
Obtains theManagedObjectScope
that theManagedObject
resides within.- Specified by:
getManagedObjectScope
in interfaceManagedObjectIndex
- Returns:
ManagedObjectScope
that theManagedObject
resides within.
-
getIndexOfManagedObjectWithinScope
public int getIndexOfManagedObjectWithinScope()
Description copied from interface:ManagedObjectIndex
Obtains the index of theManagedObject
within theManagedObjectScope
.- Specified by:
getIndexOfManagedObjectWithinScope
in interfaceManagedObjectIndex
- Returns:
- Index of the
ManagedObject
within theManagedObjectScope
.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-