public final SMFHeader.Builder from(SMFHeaderType instance)
SMFHeaderType 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 SMFHeader.Builder setTriangles(SMFTriangles triangles)
triangles attribute.
If not set, this attribute will have a default value as returned by the initializer of triangles.
triangles - The value for trianglesthis builder for use in a chained invocationpublic final SMFHeader.Builder setVertexCount(long vertexCount)
vertexCount attribute.
If not set, this attribute will have a default value as returned by the initializer of vertexCount.
vertexCount - The value for vertexCountthis builder for use in a chained invocationpublic final SMFHeader.Builder setSchemaIdentifier(SMFSchemaIdentifier schemaIdentifier)
schemaIdentifier to schemaIdentifier.schemaIdentifier - The value for schemaIdentifierthis builder for chained invocationpublic final SMFHeader.Builder setSchemaIdentifier(Optional<? extends SMFSchemaIdentifier> schemaIdentifier)
schemaIdentifier to schemaIdentifier.schemaIdentifier - The value for schemaIdentifierthis builder for use in a chained invocationpublic final SMFHeader.Builder setCoordinateSystem(SMFCoordinateSystem coordinateSystem)
coordinateSystem attribute.
If not set, this attribute will have a default value as returned by the initializer of coordinateSystem.
coordinateSystem - The value for coordinateSystemthis builder for use in a chained invocationpublic SMFHeader.Builder addAttributesInOrder(SMFAttribute element)
public SMFHeader.Builder addAllAttributesInOrder(Iterable<SMFAttribute> element)
public SMFHeader.Builder setAttributesInOrder(javaslang.collection.List<SMFAttribute> elements)
public SMFHeader.Builder setIterableAttributesInOrder(Iterable<SMFAttribute> elements)
public SMFHeader build()
SMFHeader.IllegalStateException - if any required attributes are missingCopyright © 2017 <code@io7m.com> http://io7m.com