@Immutable public abstract class AbstractAccountingAreaObject extends AbstractBaseObject implements IAccountingAreaObject
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractAccountingAreaObject(IAccountingAreaObject aOther) |
|
AbstractAccountingAreaObject(IAccountingArea aAccountingArea,
StubObject aObject) |
|
AbstractAccountingAreaObject(IClient aClient,
IAccountingArea aAccountingArea,
String sID,
org.joda.time.DateTime aCreationDT,
String sCreationUserID,
org.joda.time.DateTime aLastModificationDT,
String sLastModificationUserID,
org.joda.time.DateTime aDeletionDT,
String sDeletionUserID) |
|
AbstractAccountingAreaObject(IClient aClient,
IAccountingArea aAccountingArea,
StubObject aObject) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
IAccountingArea |
getAccountingArea() |
String |
getAccountingAreaID() |
IClient |
getClient() |
String |
getClientID() |
int |
hashCode() |
boolean |
hasSameClient(IClient aClient)
Check if the passed client has the same ID as this object
|
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
|
boolean |
hasSameClientID(IClientObject aClientObject)
Check if the passed object has the same client ID as this object
|
boolean |
hasSameClientID(String sClientID)
Check if the passed client ID has the same ID as this object
|
String |
toString() |
getCreationDateTime, getCreationUserID, getDeletionDateTime, getDeletionUserID, getID, getLastModificationDateTime, getLastModificationUserID, isDeleted, isDeleted, isDeleted, setDeletion, setDeletionNow, setLastModification, setLastModificationNow, setUndeletion, setUndeletionNowclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCreationDateTime, getCreationUserID, isDeleted, isDeleted, isDeletedgetLastModificationUserIDgetLastModificationDateTimegetDeletionUserIDprotected AbstractAccountingAreaObject(@Nonnull IAccountingAreaObject aOther)
public AbstractAccountingAreaObject(@Nonnull IAccountingArea aAccountingArea, @Nonnull StubObject aObject)
public AbstractAccountingAreaObject(@Nonnull IClient aClient, @Nonnull IAccountingArea aAccountingArea, @Nonnull StubObject aObject)
public AbstractAccountingAreaObject(@Nonnull IClient aClient, @Nonnull IAccountingArea aAccountingArea, @Nonnull@Nonempty String sID, @Nonnull org.joda.time.DateTime aCreationDT, @Nullable String sCreationUserID, @Nullable org.joda.time.DateTime aLastModificationDT, @Nullable String sLastModificationUserID, @Nullable org.joda.time.DateTime aDeletionDT, @Nullable String sDeletionUserID)
@Nonnull @Nonempty public final String getClientID()
getClientID in interface IClientObjectgetClientID in interface IHasClientIDnull nor empty.IClientObject.getClient()@Nonnull public final IClient getClient()
getClient in interface IClientObjectgetClient in interface IHasClientnull.public final boolean hasSameClientID(@Nullable IClientObject aClientObject)
IHasClienthasSameClientID in interface IHasClientaClientObject - The object to check. May be null.true if this object and the passed object (if not
null) have the same client IDpublic final boolean hasSameClientID(@Nullable String sClientID)
IHasClientIDhasSameClientID in interface IHasClientIDsClientID - The client ID to check. May be null.true if this object and the passed object have the
same client IDpublic boolean hasSameClient(@Nullable IClient aClient)
IHasClienthasSameClient in interface IHasClientaClient - The client ID to check. May be null.true if this object and the passed object have the
same client ID@Nonnull @Nonempty public final String getAccountingAreaID()
getAccountingAreaID in interface IAccountingAreaObjectgetAccountingAreaID in interface IHasAccountingAreaIDnull when using
AbstractAccountingAreaOptionalObject.IAccountingAreaObject.getAccountingArea()@Nonnull public final IAccountingArea getAccountingArea()
getAccountingArea in interface IAccountingAreaObjectgetAccountingArea in interface IHasAccountingAreanull
when using AbstractAccountingAreaOptionalObject.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 String toString()
toString in class AbstractBaseObjectCopyright © 2014–2015 Philip Helger. All rights reserved.