org.usergrid.persistence.entities
Class Asset
java.lang.Object
org.usergrid.persistence.AbstractEntity
org.usergrid.persistence.TypedEntity
org.usergrid.persistence.entities.Asset
- All Implemented Interfaces:
- Comparable<Entity>, Entity, EntityRef
public class Asset
- extends TypedEntity
Asset entity for representing file-like objects.
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 |
ENTITY_TYPE
public static final String ENTITY_TYPE
- See Also:
- Constant Field Values
path
protected String path
connections
protected Set<String> connections
Asset
public Asset()
Asset
public Asset(UUID id)
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.