Class CBField
java.lang.Object
com.io7m.cedarbridge.schema.compiled.internal.CBField
- All Implemented Interfaces:
CBFieldType
A field.
-
Constructor Summary
ConstructorsConstructorDescriptionCBField(String inName, List<String> inDocumentation, CBTypeExpressionType inType) Construct a field. -
Method Summary
Modifier and TypeMethodDescriptionname()voidsetOwner(CBFieldOwnerType newOwner) Set the field owner.type()
-
Constructor Details
-
CBField
Construct a field.- Parameters:
inName- The nameinDocumentation- The documentationinType- The type
-
-
Method Details
-
setOwner
Set the field owner.- Parameters:
newOwner- The owner
-
fieldOwner
- Specified by:
fieldOwnerin interfaceCBFieldType- Returns:
- The object that contains this field
-
name
- Specified by:
namein interfaceCBFieldType- Returns:
- The name of the field
-
type
- Specified by:
typein interfaceCBFieldType- Returns:
- The type of the field
-
documentation
- Specified by:
documentationin interfaceCBFieldType- Returns:
- Documentation for the field
-