| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jstatcom.model.JSCPropertyTypes
public abstract class JSCPropertyTypes
This class contains an enumeration of constants that define properties
 that can be set for a JSCData object. This can be used by clients
 to define specific settings to be stored in a data object. The properties
 are not serialized with JSCData objects.
 
 It implements the typesave enum pattern (Joshua Bloch, "Effective Java", Item 21).
 If you compare JSCPropertyTypes, always use the == operator.
| Constructor Summary | |
|---|---|
JSCPropertyTypes(java.lang.String name)
Creates a new property type.  | 
|
| Method Summary | |
|---|---|
 boolean | 
equals(java.lang.Object o)
Override prevention method to enforce a.equals(b) if and only if a==b. | 
 int | 
hashCode()
Override prevention method invokes super method.  | 
 java.lang.String | 
name()
Gets the name of this type.  | 
 java.lang.String | 
toString()
Gets a string representation.  | 
| Methods inherited from class java.lang.Object | 
|---|
getClass, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public JSCPropertyTypes(java.lang.String name)
name - the identifier of the new property
java.lang.IllegalArgumentException - if (name == null)| Method Detail | 
|---|
public final boolean equals(java.lang.Object o)
a.equals(b) if and only if a==b.
equals in class java.lang.Objecto - object to compare with
true if equal, false otherwisepublic final int hashCode()
hashCode in class java.lang.Objectpublic final java.lang.String name()
public final java.lang.String toString()
toString in class java.lang.Objectthis
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||