public class ResourceEntityImpl extends Object implements ResourceEntity, Serializable
Modifier and Type | Field and Description |
---|---|
protected byte[] |
bytes |
protected String |
deploymentId |
protected boolean |
generated |
protected String |
id |
protected String |
name |
Constructor and Description |
---|
ResourceEntityImpl() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes() |
String |
getDeploymentId() |
String |
getId() |
String |
getName() |
Object |
getPersistentState()
Returns a representation of the object, as would be stored in the database.
|
boolean |
isGenerated()
Indicated whether or not the resource has been generated while deploying rather than being actual part of the deployment.
|
void |
setBytes(byte[] bytes) |
void |
setDeploymentId(String deploymentId) |
void |
setGenerated(boolean generated) |
void |
setId(String id) |
void |
setName(String name) |
String |
toString() |
protected String id
protected String name
protected byte[] bytes
protected String deploymentId
protected boolean generated
public String getName()
getName
in interface ResourceEntity
public void setName(String name)
setName
in interface ResourceEntity
public byte[] getBytes()
getBytes
in interface ResourceEntity
public void setBytes(byte[] bytes)
setBytes
in interface ResourceEntity
public String getDeploymentId()
getDeploymentId
in interface ResourceEntity
public void setDeploymentId(String deploymentId)
setDeploymentId
in interface ResourceEntity
public Object getPersistentState()
Entity
getPersistentState
in interface Entity
getPersistentState
in interface ResourceEntity
public void setGenerated(boolean generated)
setGenerated
in interface ResourceEntity
public boolean isGenerated()
isGenerated
in interface ResourceEntity
Copyright © 2015 Alfresco. All rights reserved.