com.atlassian.jira.referentiel.entities
Class AInternalEntity
java.lang.Object
com.atlassian.jira.referentiel.entities.AExternalEntity
com.atlassian.jira.referentiel.entities.AInternalEntity
public abstract class AInternalEntity
- extends AExternalEntity
Field Summary |
static java.lang.String |
ID
|
Constructor Summary |
AInternalEntity(org.ofbiz.core.entity.GenericValue genericValue)
|
Method Summary |
protected void |
addKeys(java.util.Map _fields)
Add Key Fields to MAP for OFBIZ Storage |
abstract java.util.Map |
getEntityCandidateKeys()
|
java.util.Map |
getEntityKeys()
|
java.lang.Long |
getId()
|
boolean |
isCreated()
|
void |
load()
Retrieves GenericValue for the current entity depending on the fields identified as keys |
void |
setId(java.lang.Long i)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
AInternalEntity
public AInternalEntity(org.ofbiz.core.entity.GenericValue genericValue)
getEntityKeys
public java.util.Map getEntityKeys()
- Specified by:
getEntityKeys
in class AExternalEntity
- Returns:
- Map of field to assume as Key of the current Entity
getEntityCandidateKeys
public abstract java.util.Map getEntityCandidateKeys()
- Returns:
- Map of field to assume as Key of the current Entity
addKeys
protected void addKeys(java.util.Map _fields)
- Add Key Fields to MAP for OFBIZ Storage
- Overrides:
addKeys
in class AExternalEntity
- Parameters:
_fields
- field Maps
load
public void load()
throws org.ofbiz.core.entity.GenericEntityException
- Retrieves GenericValue for the current entity depending on the fields identified as keys
- Overrides:
load
in class AExternalEntity
- Throws:
org.ofbiz.core.entity.GenericEntityException
isCreated
public boolean isCreated()
- Overrides:
isCreated
in class AExternalEntity
- Returns:
- True, the GenericValue has already been created/stored
getId
public java.lang.Long getId()
setId
public void setId(java.lang.Long i)
Copyright © 2007-2008 Kaamelot Plugins. All Rights Reserved.