|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jstatcom.io.ImportTypes
public abstract class ImportTypes
Abstract class for definitions of different types of elements that belong to a certain dataset. It should be subclassed to create a new dataset definition.
Constructor Summary | |
---|---|
ImportTypes(java.lang.String name,
JSCTypes jscType)
Creates a new import tyoe. |
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 import type. |
java.lang.String |
toString()
Gets a string representation. |
JSCTypes |
type()
Gets the data type of this import type. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ImportTypes(java.lang.String name, JSCTypes jscType)
name
- the identifier of the new type
java.lang.IllegalArgumentException
- if (name == null || jscType == 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.Object
o
- object to compare with
true
if equal, false
otherwisepublic final int hashCode()
hashCode
in class java.lang.Object
public final java.lang.String name()
public final JSCTypes type()
public final java.lang.String toString()
toString
in class java.lang.Object
this
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |