public abstract class Property extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
KEY_GROUP_GLOBAL |
Constructor and Description |
---|
Property() |
Modifier and Type | Method and Description |
---|---|
String |
attributesToString()
Builds a string showing the current attribute values
|
boolean |
equals(Object object)
Returns
true if the argument is an Property instance and all identifiers for
this entity equal the identifiers of the argument entity. |
Long |
getId() |
String |
getKeyGroup()
The group the key is belonging to
|
Date |
getLastModificationDate()
Date, which denotes the last modification of this property.
|
String |
getPropertyKey() |
int |
hashCode()
Returns a hash code based on this entity's identifiers.
|
boolean |
keyEquals(String key)
Return true if the keyGroup is global an key is matching.
|
boolean |
keyEquals(String keyGroup,
String key) |
void |
setId(Long id) |
void |
setKeyGroup(String keyGroup) |
void |
setLastModificationDate(Date lastModificationDate) |
void |
setPropertyKey(String propertyKey) |
public static final String KEY_GROUP_GLOBAL
public String attributesToString()
public boolean equals(Object object)
true
if the argument is an Property instance and all identifiers for
this entity equal the identifiers of the argument entity. Returns false
otherwise.public Long getId()
public String getKeyGroup()
The group the key is belonging to
public Date getLastModificationDate()
Date, which denotes the last modification of this property.
public String getPropertyKey()
public int hashCode()
public boolean keyEquals(String key)
Return true if the keyGroup is global an key is matching.
public void setId(Long id)
public void setKeyGroup(String keyGroup)
public void setLastModificationDate(Date lastModificationDate)
public void setPropertyKey(String propertyKey)
Copyright © 2019 Communote team. All rights reserved.