public final class StubObject extends AbstractObject
IObject implementation. Used for serialization
encapsulation and the like.| Modifier and Type | Field and Description |
|---|---|
static com.helger.commons.type.ObjectType |
OT_STUB |
| Constructor and Description |
|---|
StubObject(String sID,
org.joda.time.DateTime aCreationDT,
String sCreationUserID,
org.joda.time.DateTime aLastModificationDT,
String sLastModificationUserID,
org.joda.time.DateTime aDeletionDT,
String sDeletionUserID) |
| Modifier and Type | Method and Description |
|---|---|
static StubObject |
createForCurrentUser() |
static StubObject |
createForCurrentUserAndID(String sID) |
static StubObject |
createForUser(String sUserID) |
com.helger.commons.type.ObjectType |
getTypeID() |
equals, hashCodegetCreationDateTime, getCreationUserID, getDeletionDateTime, getDeletionUserID, getID, getLastModificationDateTime, getLastModificationUserID, isDeleted, isDeleted, isDeleted, setDeletion, setDeletionNow, setLastModification, setLastModificationNow, setUndeletion, setUndeletionNow, toStringpublic StubObject(@Nonnull@Nonempty String sID, @Nullable 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 public com.helger.commons.type.ObjectType getTypeID()
@Nonnull public static StubObject createForCurrentUser()
@Nonnull public static StubObject createForUser(@Nullable String sUserID)
@Nonnull public static StubObject createForCurrentUserAndID(@Nonnull@Nonempty String sID)
Copyright © 2014–2015 Philip Helger. All rights reserved.