|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.WTObject
wt.enterprise.Simple
wt.calendar.WTCalendar
Use the newWTCalendar
static factory method(s), not the
WTCalendar
constructor, to construct instances of this class.
Instances must be constructed using the static factory(s), in order
to ensure proper initialization of the instance.
Supported API: false
Extendable: false
Field Summary | |
protected static String |
ALLOWED_GRANULARITY
Label for the attribute. |
private long |
allowedGranularity
|
protected static String |
BASE_DATE
Label for the attribute. |
private Timestamp |
baseDate
|
private static String |
CLASSNAME
|
protected static String |
DELEGATE_INDEFINITELY_DATE
Label for the attribute. |
protected static String |
DELEGATE_INDEFINITELY_PREF
Label for the attribute. |
private Timestamp |
delegateIndefinitelyDate
|
private WTPrincipalReference |
delegateIndefinitelyPRef
|
static long |
EXTERNALIZATION_VERSION_UID
|
static long |
MILLIS_IN_DAY
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private Ownership |
ownership
|
static String |
PARENT
Label for the attribute. |
static String |
PARENT_REFERENCE
Label for the attribute. |
private ObjectReference |
parentReference
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
protected static WTPrincipalReference |
SYS_CAL_OWNER
|
protected static boolean |
VERBOSE
|
protected static String |
WEEKLY_DAYS_OFF
|
Fields inherited from class wt.enterprise.Simple |
|
Fields inherited from class wt.fc.WTObject |
CREATE_TIMESTAMP, MODIFY_TIMESTAMP |
Fields inherited from interface wt.ownership.Ownable |
OWNERSHIP |
Fields inherited from interface wt.fc.Persistable |
IDENTITY, PERSIST_INFO, TYPE |
Fields inherited from interface wt.admin.DomainAdministered |
DOMAIN_REF, INHERITED_DOMAIN |
Fields inherited from interface wt.fc.BusinessInformation |
BUSINESS_TYPE, IDENTITY |
Fields inherited from interface wt.notify.Notifiable |
EVENT_SET |
Fields inherited from interface wt.identity.DisplayIdentification |
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPE |
Constructor Summary | |
WTCalendar()
|
Method Summary | |
private void |
delegateIndefinitelyPRefValidate(WTPrincipalReference a_DelegateIndefinitelyPRef)
|
boolean |
equals(Object obj)
Indicates whether the given object is equal to this object from a persistence perspective, by comparing the two objects ObjectIdentifier s. |
protected long |
getAllowedGranularity()
Gets the value of the attribute: ALLOWED_GRANULARITY. |
protected Timestamp |
getBaseDate()
Gets the value of the attribute: BASE_DATE. |
String |
getConceptualClassname()
Deprecated. |
protected Timestamp |
getDelegateIndefinitelyDate()
Gets the value of the attribute: DELEGATE_INDEFINITELY_DATE. |
protected WTPrincipalReference |
getDelegateIndefinitelyPRef()
Gets the value of the attribute: DELEGATE_INDEFINITELY_PREF. |
Ownership |
getOwnership()
Gets the object for the association that plays role: OWNERSHIP. |
WTCalendar |
getParent()
Gets the object for the association that plays role: PARENT. |
ObjectReference |
getParentReference()
Gets the value of the attribute: PARENT_REFERENCE. |
int |
hashCode()
Returns a hash code for this object based upon its ObjectIdentifier . |
protected void |
initialize()
Performs object initialization. |
protected void |
initialize(WTPrincipalReference user,
WTCalendar parent)
Supports initialization, following construction of an instance. |
static WTCalendar |
newWTCalendar(WTPrincipalReference user,
WTCalendar parent)
Supported API: false |
private void |
parentReferenceValidate(ObjectReference a_ParentReference)
|
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
void |
readExternal(PersistentRetrieveIfc input)
Used by Persistent Data Service to populate the persistent attributes of this class from a persistent store. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(WTCalendar thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
protected void |
setAllowedGranularity(long a_AllowedGranularity)
Sets the value of the attribute: ALLOWED_GRANULARITY. |
protected void |
setBaseDate(Timestamp a_BaseDate)
Sets the value of the attribute: BASE_DATE. |
protected void |
setDelegateIndefinitelyDate(Timestamp a_DelegateIndefinitelyDate)
Sets the value of the attribute: DELEGATE_INDEFINITELY_DATE. |
protected void |
setDelegateIndefinitelyPRef(WTPrincipalReference a_DelegateIndefinitelyPRef)
Sets the value of the attribute: DELEGATE_INDEFINITELY_PREF. |
void |
setOwnership(Ownership a_Ownership)
Sets the object for the association that plays role: OWNERSHIP. |
void |
setParent(WTCalendar a_Parent)
Sets the object for the association that plays role: PARENT. |
void |
setParentReference(ObjectReference a_ParentReference)
Sets the value of the attribute: PARENT_REFERENCE. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
void |
writeExternal(PersistentStoreIfc output)
Used by Persistent Data Service to obtain the values of the persistent attributes of this class, so they can be written to a persistent store. |
Methods inherited from class wt.enterprise.Simple |
getBusinessType, getDomainRef, getEventSet, getIdentity, isInheritedDomain, readVersion, setDomainRef, setEventSet, setInheritedDomain |
Methods inherited from class wt.fc.WTObject |
checkAttributes, duplicate, finalize, getClassInfo, getCreateTimestamp, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getModifyTimestamp, getPersistInfo, getType, readVersion, setPersistInfo, toString |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface wt.fc.Persistable |
checkAttributes, getIdentity, getPersistInfo, getType, setPersistInfo |
Methods inherited from interface wt.fc.NetFactor |
getClassInfo |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
protected static final String ALLOWED_GRANULARITY
private long allowedGranularity
protected static final String BASE_DATE
private Timestamp baseDate
protected static final String DELEGATE_INDEFINITELY_DATE
private Timestamp delegateIndefinitelyDate
protected static final String DELEGATE_INDEFINITELY_PREF
private WTPrincipalReference delegateIndefinitelyPRef
public static final String PARENT
public static final String PARENT_REFERENCE
private ObjectReference parentReference
private Ownership ownership
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
public static final long MILLIS_IN_DAY
protected static String WEEKLY_DAYS_OFF
protected static boolean VERBOSE
protected static WTPrincipalReference SYS_CAL_OWNER
Constructor Detail |
public WTCalendar()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class Simple
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class Simple
input
-
IOException
ClassNotFoundException
protected boolean readVersion(WTCalendar thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public void writeExternal(PersistentStoreIfc output) throws SQLException, DatastoreException
(Not intended for general use.)
Supported API: false
writeExternal
in interface ObjectMappable
writeExternal
in class Simple
output
-
SQLException
DatastoreException
public void readExternal(PersistentRetrieveIfc input) throws SQLException, DatastoreException
(Not intended for general
use.)
Supported API: false
readExternal
in interface ObjectMappable
readExternal
in class Simple
input
-
SQLException
DatastoreException
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
protected long getAllowedGranularity()
protected void setAllowedGranularity(long a_AllowedGranularity) throws WTPropertyVetoException
a_AllowedGranularity
-
WTPropertyVetoException
protected Timestamp getBaseDate()
protected void setBaseDate(Timestamp a_BaseDate) throws WTPropertyVetoException
a_BaseDate
-
WTPropertyVetoException
protected Timestamp getDelegateIndefinitelyDate()
protected void setDelegateIndefinitelyDate(Timestamp a_DelegateIndefinitelyDate) throws WTPropertyVetoException
a_DelegateIndefinitelyDate
-
WTPropertyVetoException
protected WTPrincipalReference getDelegateIndefinitelyPRef()
protected void setDelegateIndefinitelyPRef(WTPrincipalReference a_DelegateIndefinitelyPRef) throws WTPropertyVetoException
a_DelegateIndefinitelyPRef
-
WTPropertyVetoException
private void delegateIndefinitelyPRefValidate(WTPrincipalReference a_DelegateIndefinitelyPRef) throws WTPropertyVetoException
a_DelegateIndefinitelyPRef
-
WTPropertyVetoException
public WTCalendar getParent()
public void setParent(WTCalendar a_Parent) throws WTPropertyVetoException, WTException
a_Parent
-
WTPropertyVetoException
WTException
public ObjectReference getParentReference()
public void setParentReference(ObjectReference a_ParentReference) throws WTPropertyVetoException
a_ParentReference
-
WTPropertyVetoException
private void parentReferenceValidate(ObjectReference a_ParentReference) throws WTPropertyVetoException
a_ParentReference
-
WTPropertyVetoException
public static WTCalendar newWTCalendar(WTPrincipalReference user, WTCalendar parent) throws WTException
user
- parent
-
WTException
protected void initialize(WTPrincipalReference user, WTCalendar parent) throws WTException
user
- parent
-
WTException
public Ownership getOwnership()
getOwnership
in interface Ownable
public void setOwnership(Ownership a_Ownership)
setOwnership
in interface Ownable
a_Ownership
- public boolean equals(Object obj)
ObjectIdentifier
s.
Changed or stale copies are still considered equal by this method.
Delegates to PersistenceHelper.equals(Persistable,Object)
.
Warning: Certain core Windchill operations may depend upon
equals
being ObjectIdentifier
-based. Changes
to the default implementation should be done with care, if at all.
Supported API: false
equals
in class Simple
obj
-
public int hashCode()
ObjectIdentifier
.
Delegates to PersistenceHelper.hashCode(Persistable)
.
Warning: Certain core Windchill operations may depend upon
hashCode
being ObjectIdentifier-based
. Changes
to the default implementation should be done with care, if at all.
Supported API: false
hashCode
in class Simple
protected void initialize() throws WTException
initialize
in class Simple
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |