Interface SchemaFieldSwitch<R>
- Type Parameters:
R
- switch method return type
SchemaField
s.-
Method Summary
Modifier and TypeMethodDescriptiondefault R
Visitor pattern roll-up method.default R
Visitor pattern roll-up method.default R
Handle aCounterSchemaField
.default R
caseDefault
(SchemaField field) Visitor pattern roll-up method.default R
Handle aEnumArraySchemaField
.default R
Handle aEnumSchemaField
.default R
Handle aListSchemaField
.default R
caseMapSchemaField
(MapSchemaField field) Handle aMapSchemaField
.default R
Handle aReferenceSchemaField
.default R
caseSetSchemaField
(SetSchemaField field) Handle aSetSchemaField
.default R
Handle aSimpleSchemaField
.
-
Method Details
-
caseSetSchemaField
Handle aSetSchemaField
.The implementation in
SchemaFieldSwitch
delegates tocaseCollectionSchemaField()
.- Parameters:
field
- visiting field- Returns:
- visitor return value
-
caseListSchemaField
Handle aListSchemaField
.The implementation in
SchemaFieldSwitch
delegates tocaseCollectionSchemaField()
.- Parameters:
field
- visiting field- Returns:
- visitor return value
-
caseMapSchemaField
Handle aMapSchemaField
.The implementation in
SchemaFieldSwitch
delegates tocaseComplexSchemaField()
.- Parameters:
field
- visiting field- Returns:
- visitor return value
-
caseSimpleSchemaField
Handle aSimpleSchemaField
.The implementation in
SchemaFieldSwitch
delegates tocaseDefault()
.- Parameters:
field
- visiting field- Returns:
- visitor return value
-
caseReferenceSchemaField
Handle aReferenceSchemaField
.The implementation in
SchemaFieldSwitch
delegates tocaseSimpleSchemaField()
.- Parameters:
field
- visiting field- Returns:
- visitor return value
-
caseEnumSchemaField
Handle aEnumSchemaField
.The implementation in
SchemaFieldSwitch
delegates tocaseSimpleSchemaField()
.- Parameters:
field
- visiting field- Returns:
- visitor return value
-
caseEnumArraySchemaField
Handle aEnumArraySchemaField
.The implementation in
SchemaFieldSwitch
delegates tocaseSimpleSchemaField()
.- Parameters:
field
- visiting field- Returns:
- visitor return value
-
caseCounterSchemaField
Handle aCounterSchemaField
.The implementation in
SchemaFieldSwitch
delegates tocaseDefault()
.- Parameters:
field
- visiting field- Returns:
- visitor return value
-
caseCollectionSchemaField
Visitor pattern roll-up method.The implementation in
SchemaFieldSwitch
delegates tocaseComplexSchemaField()
.- Parameters:
field
- visiting field- Returns:
- visitor return value
-
caseComplexSchemaField
Visitor pattern roll-up method.The implementation in
SchemaFieldSwitch
delegates tocaseDefault()
.- Parameters:
field
- visiting field- Returns:
- visitor return value
-
caseDefault
Visitor pattern roll-up method.The implementation in
SchemaFieldSwitch
always throwsUnsupportedOperationException
.- Parameters:
field
- visiting field- Returns:
- visitor return value
-