|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteasik.sketch.util.Export.Components.ExportAttribute
public class ExportAttribute
Class to store attribute information. Should only be used for exportation to a database. Does not provide functionality for graphical display.
Field Summary | |
---|---|
private java.lang.String |
_name
The name of this attribute |
private java.lang.String |
_type
The type of this attribute |
private java.util.HashMap |
_types
The HashMap of types, indexed by the platform |
Constructor Summary | |
---|---|
ExportAttribute(java.lang.String name,
java.lang.String tempType,
java.util.HashMap types)
Constructor. |
Method Summary | |
---|---|
static java.lang.String |
getAttributeString(ExportTable t)
Formats the Attribute string for SQL. |
java.lang.String |
getName()
Getter method for the name of the attribute |
java.lang.String |
getType()
Getter method for the data type of the attribute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String _name
private java.lang.String _type
private java.util.HashMap _types
Constructor Detail |
---|
public ExportAttribute(java.lang.String name, java.lang.String tempType, java.util.HashMap types)
name
- The name of the attributetempType
- The data type of the attributetypes
- HashMap of all types, indexed by the key Method Detail |
---|
public java.lang.String getName()
public java.lang.String getType()
public static java.lang.String getAttributeString(ExportTable t)
t
- The table for which attributes need to be determined.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |