org.usergrid.persistence
Class SimpleCollectionRef
java.lang.Object
org.usergrid.persistence.SimpleCollectionRef
- All Implemented Interfaces:
- AssociatedEntityRef, CollectionRef, EntityRef
public class SimpleCollectionRef
- extends Object
- implements CollectionRef
MEMBER_ENTITY_TYPE
public static final String MEMBER_ENTITY_TYPE
- See Also:
- Constant Field Values
ownerRef
protected final EntityRef ownerRef
collectionName
protected final String collectionName
itemRef
protected final EntityRef itemRef
type
protected final String type
id
protected final UUID id
SimpleCollectionRef
public SimpleCollectionRef(EntityRef ownerRef,
String collectionName,
EntityRef itemRef)
getOwnerEntity
public EntityRef getOwnerEntity()
- Specified by:
getOwnerEntity
in interface CollectionRef
getCollectionName
public String getCollectionName()
- Specified by:
getCollectionName
in interface CollectionRef
getItemRef
public EntityRef getItemRef()
- Specified by:
getItemRef
in interface CollectionRef
getUuid
public UUID getUuid()
- Description copied from interface:
EntityRef
- Gets the id.
- Specified by:
getUuid
in interface EntityRef
- Returns:
- the id
getType
public String getType()
- Description copied from interface:
EntityRef
- Gets the type.
- Specified by:
getType
in interface EntityRef
- Returns:
- the type
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013. All Rights Reserved.