public class ItemCertificate extends Object implements Serializable
Constructor and Description |
---|
ItemCertificate()
Constructs an ItemCertificate.
|
ItemCertificate(long targetId,
boolean objectFreed,
Date createDate,
long creatorId,
long domainId,
boolean secured,
Date freeDate,
long deletorId,
String targetName,
String targetItemTypeName)
Constructs an ItemCertificate.
|
Modifier and Type | Method and Description |
---|---|
Date |
getCreateDate()
Returns the Date this ItemCertificate was created.
|
long |
getCreatorId()
Returns the ID of the User Item that performed the operation that resulted
in creating this ItemCertificate.
|
long |
getDeletorId()
Returns the ID of the user who deleted the target Item.
|
long |
getDomainId()
Returns the ID of the Domain Item with which this ItemCertificate
is associated.
|
Date |
getFreeDate()
If the Item has been freed, it returns the date of which it was
freed; null otherwise.
|
long |
getTargetId()
Returns the target Item ID.
|
String |
getTargetItemTypeName()
Returns the Item type of the target Item.
|
String |
getTargetName()
Returns the name of the target Item.
|
boolean |
isObjectFreed()
Returns true if the Item is freed; false otherwise.
|
boolean |
isSecured()
Returns true if the ItemCertificate has been secured, which means that
discovering the ItemCertificate requires appropriate permission.
|
void |
setCreateDate(Date createDate)
Always throws a RuntimeException.
|
void |
setCreatorId(long creatorId)
Always throws a RuntimeException.
|
void |
setDeletorId(long deletorId)
Always throws a RuntimeException.
|
void |
setDomainId(long domainId)
Always throws a RuntimeException.
|
void |
setFreeDate(Date freeDate)
Always throws a RuntimeException.
|
void |
setObjectFreed(boolean objectFreed)
Always throws a RuntimeException.
|
void |
setSecured(boolean secured)
Always throws a RuntimeException.
|
void |
setTargetId(long targetId)
Always throws a RuntimeException.
|
void |
setTargetItemTypeName(String typeName)
Always throws a RuntimeException.
|
void |
setTargetName(String targetName)
Always throws a RuntimeException.
|
public ItemCertificate()
public ItemCertificate(long targetId, boolean objectFreed, Date createDate, long creatorId, long domainId, boolean secured, Date freeDate, long deletorId, String targetName, String targetItemTypeName)
targetId
- target Item IDobjectFreed
- whether the Item has been freedcreateDate
- create date of the traget ItemcreatorId
- creator of the target ItemdomainId
- domain if of the target Itemsecured
- is the certificate securedfreeDate
- free date of the target ItemdeletorId
- deletor of the target ItemtargetName
- last known name of the target ItemtargetItemTypeName
- name of the target Item's item typepublic long getTargetId()
public boolean isObjectFreed()
public Date getCreateDate()
public long getCreatorId()
public long getDeletorId()
public long getDomainId()
public Date getFreeDate()
public boolean isSecured()
public String getTargetItemTypeName()
public String getTargetName()
public void setTargetId(long targetId)
RuntimeException
- Always.public void setObjectFreed(boolean objectFreed)
RuntimeException
- Always.public void setCreateDate(Date createDate)
RuntimeException
- Always.public void setCreatorId(long creatorId)
RuntimeException
- Always.public void setDeletorId(long deletorId)
RuntimeException
- Always.public void setDomainId(long domainId)
RuntimeException
- Always.public void setFreeDate(Date freeDate)
RuntimeException
- Always.public void setSecured(boolean secured)
RuntimeException
- Always.public void setTargetItemTypeName(String typeName)
RuntimeException
- Always.public void setTargetName(String targetName)
RuntimeException
- Always.Copyright © 2023. All rights reserved.