@Immutable public abstract class AbstractHasAccountingAreaObject extends AbstractHasClient implements IHasAccountingArea
| Modifier | Constructor and Description |
|---|---|
|
AbstractHasAccountingAreaObject(IAccountingArea aAccountingArea) |
protected |
AbstractHasAccountingAreaObject(IAccountingAreaObject aOther) |
|
AbstractHasAccountingAreaObject(IClient aClient,
IAccountingArea aAccountingArea) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
IAccountingArea |
getAccountingArea() |
String |
getAccountingAreaID() |
int |
hashCode() |
boolean |
hasSameClientAndAccountingAreaID(IAccountingArea aAccountingArea)
Check if the passed object has the same client ID and the same accounting
area ID as this object
|
boolean |
hasSameClientAndAccountingAreaID(IAccountingAreaObject aAccountingAreaObject)
Check if the passed object has the same client ID and the same accounting
area ID as this object
|
String |
toString() |
getClient, getClientIDclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetClient, getClientID, hasSameClient, hasSameClientIDhasSameClientIDprotected AbstractHasAccountingAreaObject(@Nonnull IAccountingAreaObject aOther)
public AbstractHasAccountingAreaObject(@Nonnull IAccountingArea aAccountingArea)
public AbstractHasAccountingAreaObject(@Nonnull IClient aClient, @Nonnull IAccountingArea aAccountingArea)
@Nonnull @Nonempty public final String getAccountingAreaID()
getAccountingAreaID in interface IHasAccountingAreagetAccountingAreaID in interface IHasAccountingAreaIDnull.IHasAccountingArea.getAccountingArea()@Nonnull public final IAccountingArea getAccountingArea()
getAccountingArea in interface IHasAccountingAreanull.public final boolean hasSameClientAndAccountingAreaID(@Nullable IAccountingArea aAccountingArea)
IHasAccountingAreahasSameClientAndAccountingAreaID in interface IHasAccountingAreaaAccountingArea - The object to check. May be null.true if this object and the passed object have the
same client ID and the same accounting area IDpublic final boolean hasSameClientAndAccountingAreaID(@Nullable IAccountingAreaObject aAccountingAreaObject)
IHasAccountingAreahasSameClientAndAccountingAreaID in interface IHasAccountingAreaaAccountingAreaObject - The object to check. May be null.true if this object and the passed object have the
same client ID and the same accounting area IDpublic boolean equals(Object o)
equals in class AbstractHasClientpublic int hashCode()
hashCode in class AbstractHasClientpublic String toString()
toString in class AbstractHasClientCopyright © 2014–2017 Philip Helger. All rights reserved.