|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.entityfs.util.EntityAndRelativeLocation<T>
public class EntityAndRelativeLocation<T extends EntityView>
This immutable object contains an entity of some kind and its location relative to some directory.
EntityFilterToEntityAndRelativeLocationFilterAdapter
Constructor Summary | |
---|---|
EntityAndRelativeLocation(T ent,
RelativeLocation loc)
Create a new entity and relative location object. |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
T |
getEntity()
Get the entity. |
RelativeLocation |
getRelativeLocation()
Get the relative location. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EntityAndRelativeLocation(T ent, RelativeLocation loc) throws NullPointerException
ent
- The entity.loc
- The relative location.
NullPointerException
- If any of the arguments is null
.Method Detail |
---|
public T getEntity()
null
.public RelativeLocation getRelativeLocation()
null
.public String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |