|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fulmine.Domain
public final class Domain
A standard IDomain
implementation backed by an
IAutoCreatingStore
that returns canonical IDomain
instances.
Use the Domain#get(byte)
factory method to obtain an instance.
Field Summary | |
---|---|
static IDomain |
FRAMEWORK
The domain for framework entities |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
static IDomain |
get(int code,
String... name)
Factory method to obtain a sharable, immutable Domain instance. |
String |
getName()
Get the name for the domain. |
int |
hashCode()
|
String |
toString()
|
byte |
value()
Get a byte representing the domain component for the entity. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final IDomain FRAMEWORK
Method Detail |
---|
public static final IDomain get(int code, String... name)
Domain
instance.
code
- the code for the type (a byte)name
- the name for the type, optional. This is only set on
the first call for each code. If no name is supplied on the
first call, the domain will have no name, irrespective of
subsequent calls.
IDomain
instance representing the
code.public byte value()
IDomain
value
in interface IDomain
public String getName()
IDomain
getName
in interface IDomain
public final String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |