public class ResourceEntity extends Object implements Serializable, DbEntity, Resource
Modifier and Type | Field and Description |
---|---|
protected byte[] |
bytes |
protected Date |
createTime |
protected String |
deploymentId |
protected boolean |
generated |
protected String |
id |
protected String |
name |
protected String |
tenantId |
protected Integer |
type |
Constructor and Description |
---|
ResourceEntity() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes() |
Date |
getCreateTime() |
String |
getDeploymentId() |
String |
getId() |
String |
getName() |
Object |
getPersistentState()
Returns a representation of the object,
as would be stored in the database.
|
String |
getTenantId() |
Integer |
getType() |
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 |
setCreateTime(Date createTime) |
void |
setDeploymentId(String deploymentId) |
void |
setGenerated(boolean generated) |
void |
setId(String id) |
void |
setName(String name) |
void |
setTenantId(String tenantId) |
void |
setType(Integer type) |
String |
toString() |
protected String id
protected String name
protected byte[] bytes
protected String deploymentId
protected boolean generated
protected String tenantId
protected Integer type
protected Date createTime
public String getId()
public void setName(String name)
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)
public Integer getType()
public void setType(Integer type)
public Date getCreateTime()
public void setCreateTime(Date createTime)
Copyright © 2022. All rights reserved.