@Valid public class MultiValuedDataType extends Object implements com.anaptecs.jeaf.core.api.ServiceObject
| Modifier and Type | Class and Description |
|---|---|
static class |
MultiValuedDataType.Builder
Class implements builder to create a new instance of class
MultiValuedDataType. |
| Modifier | Constructor and Description |
|---|---|
protected |
MultiValuedDataType()
Default constructor is only intended to be used for deserialization by tools like Jackson for JSON.
|
protected |
MultiValuedDataType(MultiValuedDataType.Builder pBuilder)
Initialize object using the passed builder.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToLiterals(BooleanLiteralsEnum pLiterals)
Method adds the passed object to
literals. |
void |
addToLiterals(Collection<BooleanLiteralsEnum> pLiterals)
Method adds all passed objects to
literals. |
void |
addToLongCodeQueryParam(Collection<LongCode> pLongCodeQueryParam)
Method adds all passed objects to
longCodeQueryParam. |
void |
addToLongCodeQueryParam(LongCode pLongCodeQueryParam)
Method adds the passed object to
longCodeQueryParam. |
void |
addToStringCodeHeader(Collection<StringCode> pStringCodeHeader)
Method adds all passed objects to
stringCodeHeader. |
void |
addToStringCodeHeader(StringCode pStringCodeHeader)
Method adds the passed object to
stringCodeHeader. |
static MultiValuedDataType.Builder |
builder()
Method returns a new builder.
|
static MultiValuedDataType.Builder |
builder(MultiValuedDataType pObject)
Method creates a new builder and initialize it with the data from the passed object.
|
static MultiValuedDataType.Builder |
builder(String pStringProperty,
long pLongValues)
Method creates a new builder and initializes it with the passed attributes.
|
void |
clearLiterals()
Method removes all objects from
literals. |
void |
clearLongCodeQueryParam()
Method removes all objects from
longCodeQueryParam. |
void |
clearStringCodeHeader()
Method removes all objects from
stringCodeHeader. |
List<BooleanLiteralsEnum> |
getLiterals()
Method returns association
literals. |
List<LongCode> |
getLongCodeQueryParam()
Method returns association
longCodeQueryParam. |
long |
getLongValues()
Method returns attribute
longValues. |
List<StringCode> |
getStringCodeHeader()
Method returns association
stringCodeHeader. |
String |
getStringProperty()
Method returns attribute
stringProperty. |
void |
removeFromLiterals(BooleanLiteralsEnum pLiterals)
Method removes the passed object from
literals. |
void |
removeFromLongCodeQueryParam(LongCode pLongCodeQueryParam)
Method removes the passed object from
longCodeQueryParam. |
void |
removeFromStringCodeHeader(StringCode pStringCodeHeader)
Method removes the passed object from
stringCodeHeader. |
void |
setLongValues(long pLongValues)
Method sets attribute
longValues. |
void |
setStringProperty(String pStringProperty)
Method sets attribute
stringProperty. |
String |
toString()
Method creates a new String with the values of all attributes of this class.
|
StringBuilder |
toStringBuilder(String pIndent)
Method returns a StringBuilder that can be used to create a String representation of this object.
|
protected MultiValuedDataType()
protected MultiValuedDataType(MultiValuedDataType.Builder pBuilder)
pBuilder - Builder that should be used to initialize this object. The parameter must not be null.public static MultiValuedDataType.Builder builder()
MultiValuedDataType.Builder New builder that can be used to create new MultiValuedDataType objects.public static MultiValuedDataType.Builder builder(MultiValuedDataType pObject)
pObject - Object that should be used to initialize the builder. The parameter may be null.MultiValuedDataType.Builder New builder that can be used to create new MultiValuedDataType objects. The method never
returns null.public static MultiValuedDataType.Builder builder(String pStringProperty, long pLongValues)
public List<StringCode> getStringCodeHeader()
stringCodeHeader.List Value to which stringCodeHeader is set. The method never returns null and
the returned collection is modifiable.public void addToStringCodeHeader(StringCode pStringCodeHeader)
stringCodeHeader.pStringCodeHeader - Object that should be added to stringCodeHeader. The parameter must not be null.public void addToStringCodeHeader(Collection<StringCode> pStringCodeHeader)
stringCodeHeader.pStringCodeHeader - Collection with all objects that should be added to stringCodeHeader. The
parameter must not be null.public void removeFromStringCodeHeader(StringCode pStringCodeHeader)
stringCodeHeader.pStringCodeHeader - Object that should be removed from stringCodeHeader. The parameter must not be
null.public void clearStringCodeHeader()
stringCodeHeader.public List<LongCode> getLongCodeQueryParam()
longCodeQueryParam.List Value to which longCodeQueryParam is set. The method never returns null and
the returned collection is modifiable.public void addToLongCodeQueryParam(LongCode pLongCodeQueryParam)
longCodeQueryParam.pLongCodeQueryParam - Object that should be added to longCodeQueryParam. The parameter must not be
null.public void addToLongCodeQueryParam(Collection<LongCode> pLongCodeQueryParam)
longCodeQueryParam.pLongCodeQueryParam - Collection with all objects that should be added to longCodeQueryParam. The
parameter must not be null.public void removeFromLongCodeQueryParam(LongCode pLongCodeQueryParam)
longCodeQueryParam.pLongCodeQueryParam - Object that should be removed from longCodeQueryParam. The parameter must not
be null.public void clearLongCodeQueryParam()
longCodeQueryParam.public List<BooleanLiteralsEnum> getLiterals()
literals.List Value to which literals is set. The method never returns null
and the returned collection is modifiable.public void addToLiterals(BooleanLiteralsEnum pLiterals)
literals.pLiterals - Object that should be added to literals. The parameter must not be null.public void addToLiterals(Collection<BooleanLiteralsEnum> pLiterals)
literals.pLiterals - Collection with all objects that should be added to literals. The parameter must not be
null.public void removeFromLiterals(BooleanLiteralsEnum pLiterals)
literals.pLiterals - Object that should be removed from literals. The parameter must not be null.public void clearLiterals()
literals.public String getStringProperty()
stringProperty.String Value to which stringProperty is set.public void setStringProperty(String pStringProperty)
stringProperty.pStringProperty - Value to which stringProperty should be set.public long getLongValues()
longValues.longValues is set.public void setLongValues(long pLongValues)
longValues.pLongValues - Value to which longValues should be set.public StringBuilder toStringBuilder(String pIndent)
StringBuilder StringBuilder representing this object. The method never returns null.Copyright © 2023. All rights reserved.