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 |
protected String |
tenantId |
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.
|
String |
getTenantId() |
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) |
void |
setTenantId(String tenantId) |
String |
toString() |
protected String id
protected String name
protected byte[] bytes
protected String deploymentId
protected boolean generated
protected String tenantId
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()
public String getTenantId()
public void setTenantId(String tenantId)
Copyright © 2017. All rights reserved.