public class IndexBean extends Object implements PlatformInterface
CREATED_ID, DATE_CREATED, DATE_MODIFIED, MODIFIED_ID, OBJECT_ID, RECORD_ID
Constructor and Description |
---|
IndexBean() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
IDBean |
getCreatedId() |
Date |
getDateCreated() |
Date |
getDateModified() |
com.es.api.rest.kniw.handlers.BaseHandler |
getHandler() |
String |
getId()
Gets the Id of the Index
|
String |
getIndexFields()
Gets the fields that are part of the index, fields are comma separated
|
String |
getLastModifiedTimestamp() |
Map |
getMap() |
IDBean |
getModifiedId() |
String |
getName()
Gets the Name of the Index
|
String |
getObjectId() |
String |
getRecordId() |
Boolean |
getUniqueIndex()
Gets the boolean value whether index is unique or not
|
Boolean |
getUseInImportForMerge()
Gets the boolean value whether index is used in import for merging or not
|
void |
merge(Object obj) |
void |
populate(Map map) |
void |
populate(Object obj) |
void |
setIndexFields(String indexFields)
Sets the fields that are part of the index
|
void |
setName(String name)
Sets the Name of the Index
|
void |
setObjectId(String objectId)
Sets the ID of the Object this field belongs to
|
void |
setRecordId(String recordId) |
void |
setUniqueIndex(Boolean uniqueIndex)
Sets the boolean value whether index is unique or not
|
void |
setUseInImportForMerge(Boolean useInImportForMerge)
Sets the boolean value whether index is used in import for merging or not
|
public IDBean getCreatedId()
getCreatedId
in interface PlatformInterface
public IDBean getModifiedId()
getModifiedId
in interface PlatformInterface
public Date getDateCreated()
getDateCreated
in interface PlatformInterface
public Date getDateModified()
getDateModified
in interface PlatformInterface
public String getObjectId()
getObjectId
in interface PlatformInterface
public void setObjectId(String objectId)
objectId
- public String getId()
public String getName()
public void setName(String name)
name
- public Boolean getUniqueIndex()
public void setUniqueIndex(Boolean uniqueIndex)
uniqueIndex
- public Boolean getUseInImportForMerge()
public void setUseInImportForMerge(Boolean useInImportForMerge)
public String getIndexFields()
public void setIndexFields(String indexFields)
public Map getMap() throws Exception, PlatformException
getMap
in interface PlatformInterface
Exception
PlatformException
public void merge(Object obj) throws Exception, PlatformException
merge
in interface PlatformInterface
Exception
PlatformException
public void populate(Map map) throws Exception
populate
in interface PlatformInterface
Exception
public String getLastModifiedTimestamp()
public void populate(Object obj) throws Exception, PlatformException
populate
in interface PlatformInterface
Exception
PlatformException
public com.es.api.rest.kniw.handlers.BaseHandler getHandler()
getHandler
in interface PlatformInterface
public String getRecordId()
getRecordId
in interface PlatformInterface
public void setRecordId(String recordId)
setRecordId
in interface PlatformInterface