public abstract class AbstractSchemaItem extends AbstractXMLStreaming
SchemaObjectType
and SchemaField
.Constructor and Description |
---|
AbstractSchemaItem() |
Modifier and Type | Method and Description |
---|---|
protected AbstractSchemaItem |
clone()
Deep-clone this instance.
|
protected Diffs |
differencesFrom(AbstractSchemaItem that) |
boolean |
equals(Object obj) |
String |
getName()
Get the name associated with this instance, if any.
|
int |
getStorageId()
Get the storage ID associated with this instance.
|
int |
hashCode() |
boolean |
isLockedDown()
Determine whether this instance is locked down.
|
void |
lockDown()
Lock down this instance.
|
void |
setName(String name) |
void |
setStorageId(int storageId) |
String |
toString() |
expect, expectClose, getAttr, getAttr, getBooleanAttr, getBooleanAttr, getIntAttr, getIntAttr, getLongAttr, newInvalidAttributeException, next, skip, writeElement
public String getName()
public void setName(String name)
public int getStorageId()
public void setStorageId(int storageId)
protected Diffs differencesFrom(AbstractSchemaItem that)
protected AbstractSchemaItem clone()
The returned instance will not be locked down.
public void lockDown()
Once locked down, any attempts to modify this instance (and all associated objects) will result
in a IllegalStateException
.
public boolean isLockedDown()
Copyright © 2022. All rights reserved.