public class CounterSchemaField extends SchemaField
SchemaObjectType
.Constructor and Description |
---|
CounterSchemaField() |
Modifier and Type | Method and Description |
---|---|
CounterSchemaField |
clone()
Deep-clone this instance.
|
boolean |
isLockedDown()
Determine whether this instance is locked down.
|
void |
lockDown()
Lock down this instance.
|
String |
toString() |
<R> R |
visit(SchemaFieldSwitch<R> target)
Apply visitor pattern.
|
differencesFrom, equals, getName, getStorageId, hashCode, setName, setStorageId
expect, expectClose, getAttr, getAttr, getBooleanAttr, getBooleanAttr, getIntAttr, getIntAttr, getLongAttr, newInvalidAttributeException, next, skip, writeElement
public <R> R visit(SchemaFieldSwitch<R> target)
SchemaField
visit
in class SchemaField
R
- visitor return typetarget
- target to invoketarget
corresponding to this instance's typepublic String toString()
toString
in class SchemaField
public CounterSchemaField clone()
The returned instance will not be locked down.
clone
in class SchemaField
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.