public class SetSchemaField extends CollectionSchemaField implements DiffGenerating<SetSchemaField>
SchemaObjectType
.Constructor and Description |
---|
SetSchemaField() |
Modifier and Type | Method and Description |
---|---|
SetSchemaField |
clone()
Deep-clone this instance.
|
Diffs |
differencesFrom(SetSchemaField that)
Detect the differences of this instance when compared to the given 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, getElementField, getSubFields, hashCode, setElementField
differencesFrom, getName, getStorageId, setName, setStorageId
expect, expectClose, getAttr, getAttr, getBooleanAttr, getBooleanAttr, getIntAttr, getIntAttr, getLongAttr, 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 Diffs differencesFrom(SetSchemaField that)
DiffGenerating
differencesFrom
in interface DiffGenerating<SetSchemaField>
that
- other instancepublic String toString()
toString
in class CollectionSchemaField
public SetSchemaField clone()
The returned instance will not be locked down.
clone
in class CollectionSchemaField
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 © 2019. All rights reserved.