org.camunda.bpm.engine.impl.persistence.entity
Class PropertyEntity

java.lang.Object
  extended by org.camunda.bpm.engine.impl.persistence.entity.PropertyEntity
All Implemented Interfaces:
Serializable, HasRevision, PersistentObject

public class PropertyEntity
extends Object
implements PersistentObject, HasRevision, Serializable

Author:
Tom Baeyens
See Also:
Serialized Form

Constructor Summary
PropertyEntity()
           
PropertyEntity(String name, String value)
           
 
Method Summary
 String getId()
           
 String getName()
           
 Object getPersistentState()
          Returns a representation of the object, as would be stored in the database.
 int getRevision()
           
 int getRevisionNext()
           
 String getValue()
           
 void setId(String id)
           
 void setRevision(int revision)
           
 void setValue(String value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyEntity

public PropertyEntity()

PropertyEntity

public PropertyEntity(String name,
                      String value)
Method Detail

getName

public String getName()

getRevision

public int getRevision()
Specified by:
getRevision in interface HasRevision

setRevision

public void setRevision(int revision)
Specified by:
setRevision in interface HasRevision

getValue

public String getValue()

setValue

public void setValue(String value)

getId

public String getId()
Specified by:
getId in interface PersistentObject

getPersistentState

public Object getPersistentState()
Description copied from interface: PersistentObject
Returns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.

Specified by:
getPersistentState in interface PersistentObject

setId

public void setId(String id)
Specified by:
setId in interface PersistentObject

getRevisionNext

public int getRevisionNext()
Specified by:
getRevisionNext in interface HasRevision

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014 camunda services GmbH. All Rights Reserved.