com.projectdarkstar.tools.dtc.domain
Class Property
java.lang.Object
com.projectdarkstar.tools.dtc.domain.Property
- All Implemented Interfaces:
- Serializable
public class Property
- extends Object
- implements Serializable
Represents a property by mapping a property name to a value.
- See Also:
- Serialized Form
Property
public Property()
Property
public Property(String description,
String property,
String value)
getId
public Long getId()
- Returns the id of the entity in persistent storage
- Returns:
- id of the entity
setId
public void setId(Long id)
getVersionNumber
public Long getVersionNumber()
- Returns the version number in the data store that this entity represents.
Whenever an update to an object is pushed to the persistent data
store, the version number is incremented.
- Returns:
- version number of the entity
setVersionNumber
public void setVersionNumber(Long versionNumber)
getDescription
public String getDescription()
setDescription
public void setDescription(String description)
getProperty
public String getProperty()
setProperty
public void setProperty(String property)
getValue
public String getValue()
setValue
public void setValue(String value)
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2013. All Rights Reserved.