com.jstatcom.io
Class ImportTypes
- java.lang.Object
-
- com.jstatcom.io.ImportTypes
-
- Direct Known Subclasses:
- TSImportTypes
public abstract class ImportTypes extends java.lang.ObjectAbstract 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
Constructors Constructor and Description ImportTypes(java.lang.String name, JSCTypes jscType)Creates a new import tyoe.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanequals(java.lang.Object o)Override prevention method to enforcea.equals(b)if and onlyif a==b.inthashCode()Override prevention method invokes super method.java.lang.Stringname()Gets the name of this import type.java.lang.StringtoString()Gets a string representation.JSCTypestype()Gets the data type of this import type.
-
-
-
Constructor Detail
-
ImportTypes
public ImportTypes(java.lang.String name, JSCTypes jscType)Creates a new import tyoe.- Parameters:
name- the identifier of the new type- Throws:
java.lang.IllegalArgumentException-if (name == null || jscType == null)
-
-
Method Detail
-
equals
public final boolean equals(java.lang.Object o)
Override prevention method to enforcea.equals(b)if and onlyif a==b.- Overrides:
equalsin classjava.lang.Object- Parameters:
o- object to compare with- Returns:
trueif equal,falseotherwise
-
hashCode
public final int hashCode()
Override prevention method invokes super method.- Overrides:
hashCodein classjava.lang.Object- Returns:
- hash code
-
name
public final java.lang.String name()
Gets the name of this import type.- Returns:
- the name of this type
-
type
public final JSCTypes type()
Gets the data type of this import type.- Returns:
- the JSCData type of this import type
-
toString
public final java.lang.String toString()
Gets a string representation.- Overrides:
toStringin classjava.lang.Object- Returns:
- a string representation of
this
-
-
DMelt 3.0 © DataMelt by jWork.ORG