@Managed @KeyList(keys=@Key(name="ByGroupKindId",ordered=false,unique=true,fields={"groupKind","groupId"})) public class Group extends java.lang.Object
Representation of a named configuration.
Each named configuration can have one or more versions in memory. Note that only one version is considered "active" at any time.
Every named configuration is associated with a single configuration type, represented by
Modifier and Type | Field and Description |
---|---|
java.lang.String |
groupId
Group identifier.
|
java.lang.String |
groupKind
Group kind identifier
|
Modifier | Constructor and Description |
---|---|
protected |
Group()
Create a new Group
|
Modifier and Type | Method and Description |
---|---|
Version |
getActiveVersion()
Returns the active version of this
configuration, or null if no version
is active.
|
GroupKind |
getType()
Returns the configuration type.
|
Version[] |
getVersions()
Returns the versions of this configuration
that are currently available.
|
java.lang.String |
toString()
Returns the configuration name.
|
public final java.lang.String groupKind
Group kind identifier
public final java.lang.String groupId
Group identifier.
protected Group()
public final java.lang.String toString()
Returns the configuration name.
toString
in class java.lang.Object
public final GroupKind getType()
Returns the configuration type.
public final Version[] getVersions()
Returns the versions of this configuration that are currently available.
public final Version getActiveVersion()
Returns the active version of this configuration, or null if no version is active.