org.usergrid.persistence.entities
Class Asset

java.lang.Object
  extended by org.usergrid.persistence.AbstractEntity
      extended by org.usergrid.persistence.TypedEntity
          extended by org.usergrid.persistence.entities.Asset
All Implemented Interfaces:
Comparable<Entity>, Entity, EntityRef

public class Asset
extends TypedEntity

Asset entity for representing file-like objects.


Field Summary
protected  Set<String> connections
           
static String ENTITY_TYPE
           
protected  String path
           
 
Fields inherited from class org.usergrid.persistence.AbstractEntity
created, dynamic_properties, dynamic_sets, modified, uuid
 
Constructor Summary
Asset()
           
Asset(UUID id)
           
 
Method Summary
 Set<String> getConnections()
           
 UUID getOwner()
           
 String getPath()
           
 void setConnections(Set<String> connections)
           
 void setOwner(UUID owner)
           
 void setPath(String name)
           
 
Methods inherited from class org.usergrid.persistence.TypedEntity
toTypedEntity
 
Methods inherited from class org.usergrid.persistence.AbstractEntity
addProperties, clearDataset, clearMetadata, compareTo, getCollections, getConnections, getCreated, getDataset, getDynamicProperties, getMetadata, getModified, getName, getProperties, getProperty, getType, getUuid, mergeDataset, mergeMetadata, setCollections, setConnections, setCreated, setDataset, setDynamicProperty, setMetadata, setModified, setProperties, setProperty, setType, setUuid, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ENTITY_TYPE

public static final String ENTITY_TYPE
See Also:
Constant Field Values

path

protected String path

connections

protected Set<String> connections
Constructor Detail

Asset

public Asset()

Asset

public Asset(UUID id)
Method Detail

getPath

public String getPath()

setPath

public void setPath(String name)

getOwner

public UUID getOwner()

setOwner

public void setOwner(UUID owner)

getConnections

public Set<String> getConnections()

setConnections

public void setConnections(Set<String> connections)


Copyright © 2013. All Rights Reserved.