public abstract class SchemaItem extends Object
ObjType
, CompositeIndex
, and Field
classes which make up a Schema
version.
Instances have a storage ID which must be unique across the Schema
version.
Instances also have a name which must be a valid Java identifier.
Instances are also associated with a specific Schema
.
Modifier and Type | Field and Description |
---|---|
static String |
NAME_PATTERN
The regular expression that all
SchemaItem names must match. |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Get the name associated with this instance.
|
Schema |
getSchema()
Get the schema version with which this instance is associated.
|
int |
getStorageId()
Get the storage ID associated with this instance.
|
abstract String |
toString() |
public static final String NAME_PATTERN
SchemaItem
names must match. This pattern is the same as is required
for Java identifiers.public String getName()
public int getStorageId()
public Schema getSchema()
Copyright © 2022. All rights reserved.