public static class UICStop.Builder extends Stop.Builder
UICStop.| 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 attribute
code. |
UICStop.Builder |
setIndex(byte pIndex)
Method sets attribute
Stop.index. |
UICStop.Builder |
setIndex2(byte pIndex2)
Method sets attribute
index2. |
UICStop.Builder |
setLinks(List<LinkObject> pLinks)
Method sets association
Stop.links. |
UICStop.Builder |
setName(String pName)
Method sets attribute
Stop.name. |
UICStop.Builder |
setPriority(int pPriority)
Method sets attribute
priority. |
UICStop.Builder |
setTheSoftLink(SoftLink pTheSoftLink)
Method sets association
Stop.theSoftLink. |
UICStop.Builder |
setUicCode(String pUicCode)
Method sets 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)
Stop.name.setName in class Stop.BuilderpName - Value to which Stop.name should be set.UICStop.Builder Instance of this builder to support chaining setters. Method never returns null.public UICStop.Builder setLinks(List<LinkObject> pLinks)
Stop.links.setLinks in class Stop.BuilderpLinks - Collection to which Stop.links should be set.UICStop.Builder Instance of this builder to support chaining setters. Method never returns null.public UICStop.Builder setIndex(byte pIndex)
Stop.index.setIndex in class Stop.BuilderpIndex - Value to which Stop.index should be set.UICStop.Builder Instance of this builder to support chaining setters. Method never returns null.public UICStop.Builder setTheSoftLink(SoftLink pTheSoftLink)
Stop.theSoftLink.setTheSoftLink in class Stop.BuilderpTheSoftLink - Value to which Stop.theSoftLink should be set.UICStop.Builder Instance of this builder to support chaining setters. Method never returns null.public UICStop.Builder setUicCode(String pUicCode)
uicCode.pUicCode - Value to which uicCode should be set.UICStop.Builder Instance of this builder to support chaining setters. Method never returns null.public UICStop.Builder setPriority(int pPriority)
priority.pPriority - Value to which priority should be set.UICStop.Builder Instance of this builder to support chaining setters. Method never returns null.public UICStop.Builder setCode(long pCode)
code.pCode - Value to which code should be set.UICStop.Builder Instance of this builder to support chaining setters. Method never returns null.public UICStop.Builder setIndex2(byte pIndex2)
index2.pIndex2 - Value to which index2 should be set.UICStop.Builder Instance of this builder to support chaining setters. Method never returns null.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 © 2023. All rights reserved.