public class Resource extends Object implements Serializable
| Constructor and Description |
|---|
Resource() |
Resource(String name,
String type) |
Resource(String name,
String type,
String schema,
String acl,
String description,
String extInfo) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkForCreate() |
void |
checkForUpdate() |
void |
checkForUpsert() |
void |
FromJsonObject(com.alibaba.fastjson.JSONObject dict) |
void |
FromJsonString(String content) |
String |
getAcl() |
long |
getCreateTime() |
String |
getDescription() |
String |
getExtInfo() |
long |
getLastModifyTime() |
String |
getName() |
String |
getSchema() |
String |
getType() |
void |
setAcl(String acl) |
void |
setDescription(String description) |
void |
setExtInfo(String extInfo) |
void |
setName(String name) |
void |
setSchema(String schema) |
void |
setType(String type) |
com.alibaba.fastjson.JSONObject |
ToJsonObject() |
String |
ToJsonString() |
public Resource(String name, String type, String schema, String acl, String description, String extInfo)
public Resource()
public long getCreateTime()
public long getLastModifyTime()
public String getName()
public void setName(String name)
public String getType()
public void setType(String type)
public String getSchema()
public void setSchema(String schema)
public String getAcl()
public void setAcl(String acl)
public String getDescription()
public void setDescription(String description)
public String getExtInfo()
public void setExtInfo(String extInfo)
public com.alibaba.fastjson.JSONObject ToJsonObject()
throws LogException
LogExceptionpublic String ToJsonString() throws LogException
LogExceptionpublic void FromJsonObject(com.alibaba.fastjson.JSONObject dict)
throws LogException
LogExceptionpublic void FromJsonString(String content) throws LogException
LogExceptionpublic void checkForCreate()
throws IllegalArgumentException
IllegalArgumentExceptionpublic void checkForUpsert()
throws IllegalArgumentException
IllegalArgumentExceptionpublic void checkForUpdate()
throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2025. All Rights Reserved.