|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.core.api.namespace.Namespace
public final class Namespace
An immutable representation of a NamespaceContract.
To construct an instance of a Namespace, use the Namespace.Builder class.
NamespaceContract,
Serialized Form| Nested Class Summary | |
|---|---|
static class |
Namespace.Builder
This builder is used to construct instances of Namespace. |
(package private) static class |
Namespace.Constants
Defines some internal constants used on this class. |
(package private) static class |
Namespace.Elements
A private class which exposes constants which define the XML element names to use when this object is marshalled to XML. |
| Field Summary | |
|---|---|
private Collection<Element> |
_futureElements
|
private boolean |
active
|
private String |
applicationId
|
private String |
code
|
private String |
name
|
private String |
objectId
|
private static long |
serialVersionUID
|
private Long |
versionNumber
|
| Constructor Summary | |
|---|---|
private |
Namespace()
This constructor should never be called. |
private |
Namespace(Namespace.Builder builder)
Constructs a Namespace from the given builder. |
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
All "Complete" model object's should adhere to the ModelObjectComplete.equals(Object) contract. |
String |
getApplicationId()
This the id of the application which owns this Namespace. |
String |
getCode()
The code value for this object. |
String |
getName()
This the name for the Namespace. |
String |
getObjectId()
Return the globally unique object id of this object. |
Long |
getVersionNumber()
Returns the version number for this object. |
int |
hashCode()
All "Complete" model object's should adhere to the ModelObjectComplete.hashCode() contract. |
boolean |
isActive()
The active indicator for an object. |
String |
toString()
This will return a proper string representation of the Model Object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private final String code
private final String applicationId
private final String name
private final boolean active
private final Long versionNumber
private final String objectId
private final Collection<Element> _futureElements
| Constructor Detail |
|---|
private Namespace()
private Namespace(Namespace.Builder builder)
builder - the Builder from which to construct the namespace| Method Detail |
|---|
public String getCode()
Coded
getCode in interface Codedpublic String getApplicationId()
NamespaceContractIt is a way of assigning the Namespace to a specific rice application or rice ecosystem.
getApplicationId in interface NamespaceContractpublic String getName()
NamespaceContract
getName in interface NamespaceContractpublic boolean isActive()
ImmutableInactivatable
isActive in interface ImmutableInactivatablepublic Long getVersionNumber()
Versioned
getVersionNumber in interface Versionedpublic String getObjectId()
GloballyUnique
getObjectId in interface GloballyUniquepublic int hashCode()
ModelObjectCompleteModelObjectComplete.hashCode() contract.
hashCode in interface ModelObjectCompletehashCode in class Objectpublic boolean equals(Object obj)
ModelObjectCompleteModelObjectComplete.equals(Object) contract.
equals in interface ModelObjectCompleteequals in class Objectobj - to object to compare for equality
public String toString()
ModelObjectBasic
toString in interface ModelObjectBasictoString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||