public class ResourceEntity extends Object implements Serializable, PersistentObject
Modifier and Type | Field and Description |
---|---|
protected byte[] |
bytes |
protected String |
deploymentId |
protected boolean |
generated |
protected String |
id |
protected String |
name |
Constructor and Description |
---|
ResourceEntity() |
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 getId()
getId
in interface PersistentObject
public void setId(String id)
setId
in interface PersistentObject
public String getName()
public void setName(String name)
public byte[] getBytes()
public void setBytes(byte[] bytes)
public String getDeploymentId()
public void setDeploymentId(String deploymentId)
public Object getPersistentState()
PersistentObject
getPersistentState
in interface PersistentObject
public void setGenerated(boolean generated)
public boolean isGenerated()
Copyright © 2015. All rights reserved.