public static class UnitOfMeasure.Builder extends Object
Constructor and Description |
---|
Builder(UniqueIdObjectSequenceProvider sequenceProvider)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
UnitOfMeasure.Builder |
abbreviation(String abbreviation)
Add the abbreviation.
|
UnitOfMeasure |
build()
Build a UnitOfMeasure instance.
|
UnitOfMeasure.Builder |
from(UnitOfMeasure value)
Initialise the builder from an existing UnitOfMeasure instance.
|
UnitOfMeasure.Builder |
name(String name)
Add the name.
|
UnitOfMeasure.Builder |
sequenceNumber(Integer sequenceNumber)
Add the sequence number.
|
UnitOfMeasure.Builder |
uniqueID(Integer uniqueID)
Add the unique ID.
|
public Builder(UniqueIdObjectSequenceProvider sequenceProvider)
sequenceProvider
- parent filepublic UnitOfMeasure.Builder from(UnitOfMeasure value)
value
- UnitOfMeasure instancepublic UnitOfMeasure.Builder uniqueID(Integer uniqueID)
uniqueID
- unique IDpublic UnitOfMeasure.Builder name(String name)
name
- namepublic UnitOfMeasure.Builder abbreviation(String abbreviation)
abbreviation
- abbreviationpublic UnitOfMeasure.Builder sequenceNumber(Integer sequenceNumber)
sequenceNumber
- sequence numberpublic UnitOfMeasure build()
Copyright © 2000–2024 Packwood Software. All rights reserved.