public final SMFSchema.Builder from(SMFSchemaType instance)
SMFSchemaType instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final SMFSchema.Builder setSchemaIdentifier(SMFSchemaIdentifier schemaIdentifier)
schemaIdentifier attribute.schemaIdentifier - The value for schemaIdentifierthis builder for use in a chained invocationpublic SMFSchema.Builder putRequiredAttributes(SMFAttributeName key, SMFSchemaAttribute value)
public SMFSchema.Builder putEntryRequiredAttributes(javaslang.Tuple2<SMFAttributeName,SMFSchemaAttribute> entry)
public SMFSchema.Builder setRequiredAttributes(javaslang.collection.SortedMap<SMFAttributeName,SMFSchemaAttribute> elements)
public SMFSchema.Builder setJavaMapRequiredAttributes(Map<SMFAttributeName,SMFSchemaAttribute> in_map)
public SMFSchema.Builder setMapRequiredAttributes(javaslang.collection.Map<SMFAttributeName,SMFSchemaAttribute> in_map)
public SMFSchema.Builder setEntriesRequiredAttributes(Iterable<javaslang.Tuple2<SMFAttributeName,SMFSchemaAttribute>> entries)
public SMFSchema.Builder putOptionalAttributes(SMFAttributeName key, SMFSchemaAttribute value)
public SMFSchema.Builder putEntryOptionalAttributes(javaslang.Tuple2<SMFAttributeName,SMFSchemaAttribute> entry)
public SMFSchema.Builder setOptionalAttributes(javaslang.collection.SortedMap<SMFAttributeName,SMFSchemaAttribute> elements)
public SMFSchema.Builder setJavaMapOptionalAttributes(Map<SMFAttributeName,SMFSchemaAttribute> in_map)
public SMFSchema.Builder setMapOptionalAttributes(javaslang.collection.Map<SMFAttributeName,SMFSchemaAttribute> in_map)
public SMFSchema.Builder setEntriesOptionalAttributes(Iterable<javaslang.Tuple2<SMFAttributeName,SMFSchemaAttribute>> entries)
public final SMFSchema.Builder setRequiredCoordinateSystem(SMFCoordinateSystem requiredCoordinateSystem)
requiredCoordinateSystem to requiredCoordinateSystem.requiredCoordinateSystem - The value for requiredCoordinateSystemthis builder for chained invocationpublic final SMFSchema.Builder setRequiredCoordinateSystem(Optional<? extends SMFCoordinateSystem> requiredCoordinateSystem)
requiredCoordinateSystem to requiredCoordinateSystem.requiredCoordinateSystem - The value for requiredCoordinateSystemthis builder for use in a chained invocationpublic final SMFSchema.Builder setAllowExtraAttributes(boolean allowExtraAttributes)
allowExtraAttributes attribute.allowExtraAttributes - The value for allowExtraAttributesthis builder for use in a chained invocationpublic SMFSchema build()
SMFSchema.IllegalStateException - if any required attributes are missingCopyright © 2017 <code@io7m.com> http://io7m.com