Serializable
, Cloneable
, Comparable<Entity>
, Entity
public class Configuration extends AbstractEntity implements Comparable<Entity>
Modifier and Type | Class | Description |
---|---|---|
static class |
Configuration.ConfigurationOrderComparator |
|
static class |
Configuration.Type |
AbstractEntity.CreateDateComparator, AbstractEntity.IdComparator, AbstractEntity.LastModifiedDateComparator
Modifier and Type | Field | Description |
---|---|---|
static Configuration.ConfigurationOrderComparator |
CONFIGURATION_ORDER_COMPARATOR |
CREATE_DATE_COMPARATOR, ID_COMPARATOR, LAST_MODIFIED_DATE_COMPARATOR
Constructor | Description |
---|---|
Configuration() |
Default constructor (required by Hibernate).
|
Configuration(Configuration.Type type,
String value) |
|
Configuration(Configuration.Type type,
String value,
int order) |
|
Configuration(Configuration.Type type,
String value,
String version) |
|
Configuration(Configuration.Type type,
String value,
String version,
int order) |
|
Configuration(Configuration.Type type,
NameValuePair pair) |
Modifier and Type | Method | Description |
---|---|---|
String |
getName() |
|
int |
getOrder() |
|
Configuration.Type |
getType() |
|
String |
getValue() |
|
String |
getVersion() |
|
void |
setName(String name) |
|
void |
setOrder(int order) |
|
void |
setType(Configuration.Type type) |
|
void |
setValue(String value) |
|
void |
setVersion(String version) |
|
String |
toString() |
String composed of system ID and natural key (name and version).
|
clone, compareTo, equals, getCreateDate, getId, getLastModifiedDate, hashCode, isNew, setCreateDate, setId, setLastModifiedDate
compareTo
public static final Configuration.ConfigurationOrderComparator CONFIGURATION_ORDER_COMPARATOR
public Configuration()
PENDING: should be private
so that it can only be used by
Hibernate, to ensure that the fields which form an instance's identity
are always initialized/never null.
public Configuration(Configuration.Type type, String value)
public Configuration(Configuration.Type type, NameValuePair pair)
public Configuration(Configuration.Type type, String value, String version)
public Configuration(Configuration.Type type, String value, int order)
public Configuration(Configuration.Type type, String value, String version, int order)
public String getName()
public void setName(String name)
public int getOrder()
public void setOrder(int order)
public Configuration.Type getType()
public void setType(Configuration.Type type)
public String getValue()
public void setValue(String value)
public String getVersion()
public void setVersion(String version)
Copyright © 2002–2019 itracker. All rights reserved.