public abstract class AbstractAttribute
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
BIGINT |
static int |
BLOB |
static int |
BOOLEAN |
static int |
CHAR |
static int |
DATE |
static int |
DATETIME |
static int |
DECIMAL |
static int |
FLOAT |
static int |
INTEGER |
static int |
LOGICAL |
static int |
MEMO |
static int |
NUMBER |
static int |
TIME |
static int |
TIMESTAMP |
static int |
VARCHAR |
Modifier | Constructor and Description |
---|---|
protected |
AbstractAttribute(java.lang.String description,
java.lang.String fieldName,
int type,
int length,
int scale)
Constructs a new attribute with the specified description, field name,
type, length and scale.
|
Modifier and Type | Method and Description |
---|---|
static AbstractAttribute[] |
concat(AbstractAttribute[][] attributesArrays) |
java.lang.String |
getDescription()
Returns the field description.
|
java.lang.String |
getFieldName()
Returns the field name.
|
int |
getLength()
Returns the field length
|
int |
getScale()
Returns the field scale
|
int |
getType()
Returns the field type
|
public static final int LOGICAL
public static final int BOOLEAN
public static final int MEMO
public static final int NUMBER
public static final int DECIMAL
public static final int INTEGER
public static final int BIGINT
public static final int FLOAT
public static final int CHAR
public static final int VARCHAR
public static final int DATE
public static final int TIME
public static final int TIMESTAMP
public static final int DATETIME
public static final int BLOB
protected AbstractAttribute(java.lang.String description, java.lang.String fieldName, int type, int length, int scale)
description
- the field descriptionfieldName
- the field nametype
- the column typelength
- the field lengthscale
- the field scalepublic static AbstractAttribute[] concat(AbstractAttribute[][] attributesArrays)
public java.lang.String getFieldName()
public int getType()
public int getLength()
public int getScale()
public java.lang.String getDescription()
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de