@Immutable public abstract class AbstractClientObject extends AbstractBaseObject implements IClientObject
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractClientObject(IClientObject aBase) |
|
AbstractClientObject(IClient aClient,
String sID,
org.joda.time.DateTime aCreationDT,
String sCreationUserID,
org.joda.time.DateTime aLastModificationDT,
String sLastModificationUserID,
org.joda.time.DateTime aDeletionDT,
String sDeletionUserID) |
|
AbstractClientObject(IClient aClient,
StubObject aObject) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
IClient |
getClient() |
String |
getClientID() |
int |
hashCode() |
boolean |
hasSameClient(IClient aClient)
Check if the passed client has the same 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 AbstractClientObject(@Nonnull IClientObject aBase)
public AbstractClientObject(@Nonnull IClient aClient, @Nonnull StubObject aObject)
public AbstractClientObject(@Nonnull IClient aClient, @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 IDpublic String toString()
toString in class AbstractBaseObjectCopyright © 2014–2015 Philip Helger. All rights reserved.