@Valid public abstract class CompositeIDBase extends Object implements com.anaptecs.jeaf.core.api.ServiceObject
| Modifier and Type | Class and Description |
|---|---|
static class |
CompositeIDBase.BuilderBase
Class implements builder to create a new instance of class CompositeID.
|
| Modifier | Constructor and Description |
|---|---|
protected |
CompositeIDBase()
Default constructor is only intended to be used for deserialization by tools like Jackson for JSON.
|
protected |
CompositeIDBase(CompositeIDBase.BuilderBase pBuilder)
Initialize object using the passed builder.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getPrimaryCode()
Method returns attribute
primaryCode. |
long |
getSecondaryCode()
Method returns attribute
secondaryCode. |
void |
setPrimaryCode(long pPrimaryCode)
Method sets attribute
primaryCode. |
void |
setSecondaryCode(long pSecondaryCode)
Method sets attribute
secondaryCode. |
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 CompositeIDBase()
protected CompositeIDBase(CompositeIDBase.BuilderBase pBuilder)
pBuilder - Builder that should be used to initialize this object. The parameter must not be null.public long getPrimaryCode()
primaryCode.primaryCode is set.public void setPrimaryCode(long pPrimaryCode)
primaryCode.pPrimaryCode - Value to which primaryCode should be set.public long getSecondaryCode()
secondaryCode.secondaryCode is set.public void setSecondaryCode(long pSecondaryCode)
secondaryCode.pSecondaryCode - Value to which secondaryCode should be set.public StringBuilder toStringBuilder(String pIndent)
StringBuilder StringBuilder representing this object. The method never returns null.Copyright © 2023. All rights reserved.