K
- the key typeT
- the type of the extending class@MappedSuperclass public class Activatable<K extends Serializable,T extends Activatable<K,T>> extends SwesExtensionImpl<String> implements Serializable
Modifier and Type | Field and Description |
---|---|
private boolean |
active |
static String |
ACTIVE |
static String |
COMPOSITE_KEY |
private K |
key |
private static long |
serialVersionUID |
Constructor and Description |
---|
Activatable(K key) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
K |
getKey() |
int |
hashCode() |
boolean |
isActive() |
T |
setActive(boolean active) |
T |
setKey(K encodingKey) |
String |
toString() |
getDefinition, getIdentifier, getNamespace, getValue, isSetDefinition, isSetIdentifier, isSetNamespace, setDefinition, setIdentifier, setNamespace, setValue
private static final long serialVersionUID
public static final String ACTIVE
public static final String COMPOSITE_KEY
private K extends Serializable key
private boolean active
public Activatable(K key)
Copyright © 2012-2015 52north.org. All Rights Reserved.