public final class IndexBean extends Object
SearchIndex
table.Modifier and Type | Class and Description |
---|---|
static class |
IndexBean.Builder |
static class |
IndexBean.IndexBeanType |
Constructor and Description |
---|
IndexBean(int pObjectId,
String pObjectType,
Timestamp pEntryUpdated,
boolean pTail,
boolean pDeleted,
ProtectionDomain pProtectionDomain)
Creates an index bean with specified values of
deleted and tail property. |
IndexBean(int pObjectId,
String pObjectType,
Timestamp pEntryUpdated,
boolean pTail,
boolean pDeleted,
ProtectionDomain pProtectionDomain,
String pComment)
Creates an index bean with specified values of
deleted and tail property. |
IndexBean(int pObjectId,
String pObjectType,
Timestamp pEntryUpdated,
boolean pTail,
boolean pDeleted,
ProtectionDomain pProtectionDomain,
String pComment,
String pUuid)
Creates an index bean with specified values of
deleted and tail property. |
IndexBean(int pObjectId,
String pObjectType,
Timestamp pEntryUpdated,
ProtectionDomain pProtectionDomain)
Creates an index bean with
deleted and tail property as false . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object pOther) |
String |
getComment()
Returns the the comment for this index bean.
|
Timestamp |
getEntryUpdated()
Returns the timestamp when the object of this index bean is updated.
|
IOHashKey |
getIOHashKey()
Returns the hash key of the object of this index bean.
|
int |
getObjectId()
Returns the object id of this index bean.
|
String |
getObjectType()
Returns the object type of this index bean.
|
ProtectionDomain |
getProtectionDomain()
Returns the protection domain of the object of this index bean.
|
String |
getUuid() |
int |
hashCode() |
boolean |
isDeleted()
Returns whether the object of this index bean is deleted.
|
boolean |
isTail()
Returns whether this index bean is at the tail.
|
String |
toString() |
public IndexBean(int pObjectId, String pObjectType, Timestamp pEntryUpdated, ProtectionDomain pProtectionDomain)
deleted
and tail
property as false
.pObjectId
- the object id; must be positive.pObjectType
- the object type; can not be null
.pEntryUpdated
- the timestamp when the object is updated; can not be null
.pProtectionDomain
- the protection domain of the object; can be null
.IllegalArgumentException
- if any of the parameters is invalid.public IndexBean(int pObjectId, String pObjectType, Timestamp pEntryUpdated, boolean pTail, boolean pDeleted, ProtectionDomain pProtectionDomain)
deleted
and tail
property.pObjectId
- the object id; must be positive.pObjectType
- the object type; can not be null
.pEntryUpdated
- the timestamp when the object is updated; can not be null
.pTail
- indicates whether this index bean should be added at the tail.pDeleted
- indicates whether the object is deleted.pProtectionDomain
- the protection domain of the object; can be null
.IllegalArgumentException
- if any of the parameters is invalid.public IndexBean(int pObjectId, String pObjectType, Timestamp pEntryUpdated, boolean pTail, boolean pDeleted, ProtectionDomain pProtectionDomain, String pComment)
deleted
and tail
property.pObjectId
- the object id; must be positive.pObjectType
- the object type; can not be null
.pEntryUpdated
- the timestamp when the object is updated; can not be null
.pTail
- indicates whether this index bean should be added at the tail.pDeleted
- indicates whether the object is deleted.pProtectionDomain
- the protection domain of the object; can be null
.pComment
- A general comment; can be null
.IllegalArgumentException
- if any of the parameters is invalid.public IndexBean(int pObjectId, String pObjectType, Timestamp pEntryUpdated, boolean pTail, boolean pDeleted, ProtectionDomain pProtectionDomain, String pComment, String pUuid)
deleted
and tail
property.pObjectId
- the object id; must be positive.pObjectType
- the object type; can not be null
.pEntryUpdated
- the timestamp when the object is updated; can not be null
.pTail
- indicates whether this index bean should be added at the tail.pDeleted
- indicates whether the object is deleted.pProtectionDomain
- the protection domain of the object; can be null
.pComment
- A general comment; can be null
.pUuid
- The uuid of the modified object; can be null
IllegalArgumentException
- if any of the parameters is invalid.public int getObjectId()
public String getObjectType()
null
.public Timestamp getEntryUpdated()
null
.public boolean isDeleted()
true
if the object of this index bean is deleted; false
otherwise.public boolean isTail()
true
if this index bean is at the tail; false
otherwise.public ProtectionDomain getProtectionDomain()
null
.public String getComment()
null
.public String getUuid()
public IOHashKey getIOHashKey()
null
.© 1998- 2021 Escenic AS