| Modifier and Type | Method and Description |
|---|---|
AreaSizeI |
build()
Builds a new
AreaSizeI. |
AreaSizeI.Builder |
from(AreaSizeIType instance)
Fill a builder with attribute values from the provided
AreaSizeIType instance. |
AreaSizeI.Builder |
setHeight(int height)
Initializes the value for the
height attribute. |
AreaSizeI.Builder |
setWidth(int width)
Initializes the value for the
width attribute. |
public final AreaSizeI.Builder from(AreaSizeIType instance)
AreaSizeIType 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 AreaSizeI.Builder setWidth(int width)
width attribute.width - The value for widththis builder for use in a chained invocationpublic final AreaSizeI.Builder setHeight(int height)
height attribute.height - The value for heightthis builder for use in a chained invocationpublic AreaSizeI build()
AreaSizeI.IllegalStateException - if any required attributes are missingCopyright © 2017 <code@io7m.com> http://io7m.com