public class ResourceEntity extends Object implements Serializable, DbEntity, Resource
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()
public void setName(String name)
public byte[] getBytes()
public void setBytes(byte[] bytes)
public String getDeploymentId()
getDeploymentId
in interface Resource
public void setDeploymentId(String deploymentId)
public Object getPersistentState()
DbEntity
getPersistentState
in interface DbEntity
public void setGenerated(boolean generated)
public boolean isGenerated()
Copyright © 2018. All rights reserved.