com.atlassian.jira.entity
Class ClusterLockStatusEntity
java.lang.Object
com.atlassian.jira.entity.AbstractEntityFactory<com.atlassian.beehive.spi.ClusterLockStatus>
com.atlassian.jira.entity.ClusterLockStatusEntity
- All Implemented Interfaces:
- EntityBuilder<com.atlassian.beehive.spi.ClusterLockStatus>, EntityFactory<com.atlassian.beehive.spi.ClusterLockStatus>, NamedEntityBuilder<com.atlassian.beehive.spi.ClusterLockStatus>
public class ClusterLockStatusEntity
- extends AbstractEntityFactory<com.atlassian.beehive.spi.ClusterLockStatus>
EntityFactory for ClusterLockStatus table.
Builds ClusterLockStatus objects from GenericValues and vice versa.
- Since:
- 6.3
Method Summary |
com.atlassian.beehive.spi.ClusterLockStatus |
build(org.ofbiz.core.entity.GenericValue gv)
Builds an instance of this Entity from the given GenericValue. |
Map<String,Object> |
fieldMapFrom(com.atlassian.beehive.spi.ClusterLockStatus clusterLockStatus)
Builds a FieldMap from an entity Object. |
String |
getEntityName()
The name of the Entity as defined in the entitymodel.xml file. |
LOCK_NAME
public static final String LOCK_NAME
- See Also:
- Constant Field Values
LOCKED_BY_NODE
public static final String LOCKED_BY_NODE
- See Also:
- Constant Field Values
ClusterLockStatusEntity
public ClusterLockStatusEntity()
getEntityName
public String getEntityName()
- Description copied from interface:
NamedEntityBuilder
- The name of the Entity as defined in the entitymodel.xml file.
- Returns:
- the name of the Entity.
build
public com.atlassian.beehive.spi.ClusterLockStatus build(org.ofbiz.core.entity.GenericValue gv)
- Description copied from interface:
EntityBuilder
- Builds an instance of this Entity from the given GenericValue.
- Parameters:
gv
- GenericValue for the entity
- Returns:
- the entity Object
fieldMapFrom
public Map<String,Object> fieldMapFrom(com.atlassian.beehive.spi.ClusterLockStatus clusterLockStatus)
- Description copied from interface:
EntityFactory
- Builds a FieldMap from an entity Object.
The FieldMap is the data held by a GenericValue, so this basically is the reverse operation of turning an object
into a GenericValue.
- Parameters:
clusterLockStatus
- the Entity value
- Returns:
- Map of field values
Copyright © 2002-2014 Atlassian. All Rights Reserved.