public static class UICStop.Builder extends Stop.Builder
| Modifier | Constructor and Description |
|---|---|
protected |
Builder()
Use
UICStop.builder() instead of private constructor to create new builder. |
protected |
Builder(UICStop pObject)
Use
UICStop.builder(UICStop) instead of private constructor to create new builder. |
| Modifier and Type | Method and Description |
|---|---|
UICStop |
build()
Method creates a new instance of class UICStop.
|
UICStop |
buildValidated()
Method creates a new validated instance of class UICStop.
|
UICStop.Builder |
setCode(long pCode)
Method sets the attribute "code".
|
UICStop.Builder |
setIndex(byte pIndex)
Method sets the attribute "index".
|
UICStop.Builder |
setIndex2(byte pIndex2)
Method sets the attribute "index2".
|
UICStop.Builder |
setLinks(List<LinkObject> pLinks)
Method sets the association "links".
|
UICStop.Builder |
setName(String pName)
Method sets the attribute "name".
|
UICStop.Builder |
setPriority(int pPriority)
Method sets the attribute "priority".
|
UICStop.Builder |
setUicCode(String pUicCode)
Method sets the attribute "uicCode".
|
protected Builder()
UICStop.builder() instead of private constructor to create new builder.protected Builder(UICStop pObject)
UICStop.builder(UICStop) instead of private constructor to create new builder.public UICStop.Builder setName(String pName)
setName in class Stop.BuilderpName - Value to which the attribute "name" should be set.public UICStop.Builder setLinks(List<LinkObject> pLinks)
setLinks in class Stop.BuilderpLinks - Collection with objects to which the association should be set.public UICStop.Builder setIndex(byte pIndex)
setIndex in class Stop.BuilderpIndex - Value to which the attribute "index" should be set.public UICStop.Builder setUicCode(String pUicCode)
pUicCode - Value to which the attribute "uicCode" should be set.public UICStop.Builder setPriority(int pPriority)
pPriority - Value to which the attribute "priority" should be set.public UICStop.Builder setCode(long pCode)
pCode - Value to which the attribute "code" should be set.public UICStop.Builder setIndex2(byte pIndex2)
pIndex2 - Value to which the attribute "index2" should be set.public UICStop build()
build in class Stop.Builderpublic UICStop buildValidated() throws javax.validation.ConstraintViolationException
buildValidated in class Stop.Builderjavax.validation.ConstraintViolationException - in case that one or more validations for the created object failed.Copyright © 2022. All rights reserved.