org.opencrx.kernel.activity1.jdo2
Class Activity

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jdo2.AbstractObject
          extended by org.opencrx.kernel.activity1.jdo2.Activity
All Implemented Interfaces:
Serializable, Activity, AlertSender, Auditee, Cloneable, Importer, Indexed, SecureObject, XmlExporter, DepotReferenceHolder, CrxObject, org.openmdx.base.cci2.BasicObject, org.openmdx.base.cci2.ContextCapable, org.openmdx.base.cci2.ExtentCapable, org.openmdx.compatibility.view1.cci2.ViewCapable
Direct Known Subclasses:
Absence, Email, ExternalActivity, Fax, Incident, Mailing, Meeting, Mms, PhoneCall, Sms, Task

public class Activity
extends org.w3c.jdo2.AbstractObject
implements Activity

Abstract class Activity

See Also:
Serialized Form

Nested Class Summary
static class Activity.Identity
          The object's application identity
static class Activity.Slice
          Slice object hold the Activity's multivalued attributes
 
Nested classes/interfaces inherited from class org.w3c.jdo2.AbstractObject
org.w3c.jdo2.AbstractObject.EmbeddedList<E>, org.w3c.jdo2.AbstractObject.EmbeddedSet<E>
 
Field Summary
static List<String> BASE_CLASS
          Define this class as base class
static List<String> CLASS
          Define the model class org::opencrx::kernel::activity1::Activity
 
Constructor Summary
Activity()
           
 
Method Summary
 void addActivityLinkTo(boolean idIsPersistent, String id, ActivityLinkTo activityLinkTo)
          Adds the specified element to the set of the values for the reference activityLinkTo.
 void addAdditionalExternalLink(boolean idIsPersistent, String id, AdditionalExternalLink additionalExternalLink)
          Adds the specified element to the set of the values for the reference additionalExternalLink.
 void addAssignedGroup(boolean idIsPersistent, String id, ActivityGroupAssignment assignedGroup)
          Adds the specified element to the set of the values for the reference assignedGroup.
 void addAssignedResource(boolean idIsPersistent, String id, ResourceAssignment assignedResource)
          Adds the specified element to the set of the values for the reference assignedResource.
 void addAttachedDocument(boolean idIsPersistent, String id, DocumentAttachment attachedDocument)
          Adds the specified element to the set of the values for the reference attachedDocument.
 void addDepotReference(boolean idIsPersistent, String id, DepotReference depotReference)
          Adds the specified element to the set of the values for the reference depotReference.
 void addEffortEstimate(boolean idIsPersistent, String id, EffortEstimate effortEstimate)
          Adds the specified element to the set of the values for the reference effortEstimate.
 void addFollowUp(boolean idIsPersistent, String id, ActivityFollowUp followUp)
          Adds the specified element to the set of the values for the reference followUp.
 void addInvolvedObject(boolean idIsPersistent, String id, InvolvedObject involvedObject)
          Adds the specified element to the set of the values for the reference involvedObject.
 void addMedia(boolean idIsPersistent, String id, Media media)
          Adds the specified element to the set of the values for the reference media.
 void addNote(boolean idIsPersistent, String id, Note note)
          Adds the specified element to the set of the values for the reference note.
 ModifySecureObjectResult addOwningGroup(PrincipalGroup group, short mode)
           
 void addProductReference(boolean idIsPersistent, String id, ProductReference productReference)
          Adds the specified element to the set of the values for the reference productReference.
 void addPropertySet(boolean idIsPersistent, String id, PropertySet propertySet)
          Adds the specified element to the set of the values for the reference propertySet.
 void addRating(boolean idIsPersistent, String id, Rating rating)
          Adds the specified element to the set of the values for the reference rating.
 void addToSegment(Segment segment)
          Sets a new value for the reference segment.
 void addToSegment(Segment segment, boolean idIsPersistent, String id)
          Set the object's composite association org:opencrx:kernel:activity1:SegmentContainsActivity.
 void addVote(boolean idIsPersistent, String id, ActivityVote vote)
          Adds the specified element to the set of the values for the reference vote.
 AddWorkRecordResult addWorkRecordByDuration(short depotSelector, String description, short durationHours, short durationMinutes, Date endAt, String name, short rateType, Resource resource, Date startAt)
           
 org.openmdx.base.cci2.Void assignTo(Resource resource)
           
 CheckPermissionsResult checkPermissions(String principalName)
           
 CloneResult clone_(String referenceFilter)
           
 ActivityDoFollowUpResult doFollowUp(Contact assignTo, String followUpText, String followUpTitle, ActivityProcessTransition transition)
           
 ExportResult exportXml(String attributeFilter, String referenceFilter)
           
 org.openmdx.base.cci2.BasicObject getAccessGrantedByParent()
          Retrieves the value for the reference accessGrantedByParent.
 short getAccessLevelBrowse()
          Retrieves the value for the attribute accessLevelBrowse.
 short getAccessLevelDelete()
          Retrieves the value for the attribute accessLevelDelete.
 short getAccessLevelUpdate()
          Retrieves the value for the attribute accessLevelUpdate.
<T extends ActivityLinkFrom>
Collection<T>
getActivityLinkFrom()
          Retrieves a set containing all the elements for the reference activityLinkFrom.
 ActivityLinkFrom getActivityLinkFrom(boolean idIsPersistent, String id)
          Retrieves the value for the reference activityLinkFrom for the specified qualifier attribute value.
<T extends ActivityLinkTo>
Collection<T>
getActivityLinkTo()
          Retrieves a set containing all the elements for the reference activityLinkTo.
 ActivityLinkTo getActivityLinkTo(boolean idIsPersistent, String id)
          Retrieves the value for the reference activityLinkTo for the specified qualifier attribute value.
 String getActivityNumber()
          Retrieves the possibly null value for the optional attribute activityNumber.
 short getActivityState()
          Retrieves the value for the attribute activityState.
 ActivityType getActivityType()
          Retrieves the value for the reference activityType.
 String getActualEffortHhMm()
          Retrieves the possibly null value for the optional attribute actualEffortHhMm.
 Integer getActualEffortHours()
          Retrieves the possibly null value for the optional attribute actualEffortHours.
 Integer getActualEffortMinutes()
          Retrieves the possibly null value for the optional attribute actualEffortMinutes.
 Date getActualEnd()
          Retrieves the possibly null value for the optional attribute actualEnd.
 Date getActualStart()
          Retrieves the possibly null value for the optional attribute actualStart.
<T extends AdditionalExternalLink>
Collection<T>
getAdditionalExternalLink()
          Retrieves a set containing all the elements for the reference additionalExternalLink.
 AdditionalExternalLink getAdditionalExternalLink(boolean idIsPersistent, String id)
          Retrieves the value for the reference additionalExternalLink for the specified qualifier attribute value.
<T extends ActivityGroupAssignment>
Collection<T>
getAssignedGroup()
          Retrieves a set containing all the elements for the reference assignedGroup.
 ActivityGroupAssignment getAssignedGroup(boolean idIsPersistent, String id)
          Retrieves the value for the reference assignedGroup for the specified qualifier attribute value.
<T extends ResourceAssignment>
Collection<T>
getAssignedResource()
          Retrieves a set containing all the elements for the reference assignedResource.
 ResourceAssignment getAssignedResource(boolean idIsPersistent, String id)
          Retrieves the value for the reference assignedResource for the specified qualifier attribute value.
 Contact getAssignedTo()
          Retrieves the value for the reference assignedTo.
<T extends DocumentAttachment>
Collection<T>
getAttachedDocument()
          Retrieves a set containing all the elements for the reference attachedDocument.
 DocumentAttachment getAttachedDocument(boolean idIsPersistent, String id)
          Retrieves the value for the reference attachedDocument for the specified qualifier attribute value.
<T extends AuditEntry>
Collection<T>
getAudit()
          Retrieves a set containing all the elements for the reference audit.
 AuditEntry getAudit(boolean idIsPersistent, String id)
          Retrieves the value for the reference audit for the specified qualifier attribute value.
 List<String> getCategory()
          Retrieves a list containing all the elements for the attribute category.
<T extends AbstractContract>
List<T>
getContract()
          Retrieves the Collection of objects referenced by contract.
 Date getCreatedAt()
          Retrieves the value for the attribute createdAt.
 Set<String> getCreatedBy()
          Retrieves a set containing all the elements for the attribute createdBy.
<T extends DepotReference>
Collection<T>
getDepotReference()
          Retrieves a set containing all the elements for the reference depotReference.
 DepotReference getDepotReference(boolean idIsPersistent, String id)
          Retrieves the value for the reference depotReference for the specified qualifier attribute value.
 String getDescription()
          Retrieves the possibly null value for the optional attribute description.
 String getDetailedDescription()
          Retrieves the possibly null value for the optional attribute detailedDescription.
 String getDisabledReason()
          Retrieves the possibly null value for the optional attribute disabledReason.
 Date getDueBy()
          Retrieves the possibly null value for the optional attribute dueBy.
<T extends EffortEstimate>
Collection<T>
getEffortEstimate()
          Retrieves a set containing all the elements for the reference effortEstimate.
 EffortEstimate getEffortEstimate(boolean idIsPersistent, String id)
          Retrieves the value for the reference effortEstimate for the specified qualifier attribute value.
 List<String> getExternalLink()
          Retrieves a list containing all the elements for the attribute externalLink.
<T extends ActivityFollowUp>
Collection<T>
getFollowUp()
          Retrieves a set containing all the elements for the reference followUp.
 ActivityFollowUp getFollowUp(boolean idIsPersistent, String id)
          Retrieves the value for the reference followUp for the specified qualifier attribute value.
 String getIcal()
          Retrieves the possibly null value for the optional attribute ical.
 String getIdentity()
          Retrieves the value for the attribute identity.
<T extends IndexEntry>
Collection<T>
getIndexEntry()
          Retrieves a set containing all the elements for the reference indexEntry.
 IndexEntry getIndexEntry(boolean idIsPersistent, String id)
          Retrieves the value for the reference indexEntry for the specified qualifier attribute value.
<T extends InvolvedObject>
Collection<T>
getInvolvedObject()
          Retrieves a set containing all the elements for the reference involvedObject.
 InvolvedObject getInvolvedObject(boolean idIsPersistent, String id)
          Retrieves the value for the reference involvedObject for the specified qualifier attribute value.
 ActivityProcessTransition getLastTransition()
          Retrieves the value for the reference lastTransition.
 String getLocation()
          Retrieves the possibly null value for the optional attribute location.
 String getMainEstimateEffortHhMm()
          Retrieves the possibly null value for the optional attribute mainEstimateEffortHhMm.
 Integer getMainEstimateEffortHours()
          Retrieves the possibly null value for the optional attribute mainEstimateEffortHours.
 Integer getMainEstimateEffortMinutes()
          Retrieves the possibly null value for the optional attribute mainEstimateEffortMinutes.
<T extends Media>
Collection<T>
getMedia()
          Retrieves a set containing all the elements for the reference media.
 Media getMedia(boolean idIsPersistent, String id)
          Retrieves the value for the reference media for the specified qualifier attribute value.
 String getMisc1()
          Retrieves the possibly null value for the optional attribute misc1.
 String getMisc2()
          Retrieves the possibly null value for the optional attribute misc2.
 String getMisc3()
          Retrieves the possibly null value for the optional attribute misc3.
 Date getModifiedAt()
          Retrieves the value for the attribute modifiedAt.
 Set<String> getModifiedBy()
          Retrieves a set containing all the elements for the attribute modifiedBy.
 String getName()
          Retrieves the value for the attribute name.
<T extends Note>
Collection<T>
getNote()
          Retrieves a set containing all the elements for the reference note.
 Note getNote(boolean idIsPersistent, String id)
          Retrieves the value for the reference note for the specified qualifier attribute value.
 Date getOriginalScheduledEnd()
          Retrieves the possibly null value for the optional attribute originalScheduledEnd.
 List<String> getOwner()
          Retrieves a list containing all the elements for the attribute owner.
<T extends PrincipalGroup>
List<T>
getOwningGroup()
          Retrieves the Collection of objects referenced by owningGroup.
 User getOwningUser()
          Retrieves the value for the reference owningUser.
 Short getPercentComplete()
          Retrieves the possibly null value for the optional attribute percentComplete.
 short getPriority()
          Retrieves the value for the attribute priority.
 ActivityProcessState getProcessState()
          Retrieves the value for the reference processState.
<T extends ProductReference>
Collection<T>
getProductReference()
          Retrieves a set containing all the elements for the reference productReference.
 ProductReference getProductReference(boolean idIsPersistent, String id)
          Retrieves the value for the reference productReference for the specified qualifier attribute value.
<T extends PropertySet>
Collection<T>
getPropertySet()
          Retrieves a set containing all the elements for the reference propertySet.
 PropertySet getPropertySet(boolean idIsPersistent, String id)
          Retrieves the value for the reference propertySet for the specified qualifier attribute value.
<T extends PropertySetEntry>
Collection<T>
getPropertySetEntry()
          Retrieves a set containing all the elements for the reference propertySetEntry.
 PropertySetEntry getPropertySetEntry(boolean idIsPersistent, String id)
          Retrieves the value for the reference propertySetEntry for the specified qualifier attribute value.
<T extends Rating>
Collection<T>
getRating()
          Retrieves a set containing all the elements for the reference rating.
 Rating getRating(boolean idIsPersistent, String id)
          Retrieves the value for the reference rating for the specified qualifier attribute value.
 Account getReportingAccount()
          Retrieves the value for the reference reportingAccount.
 Contact getReportingContact()
          Retrieves the value for the reference reportingContact.
 Date getScheduledEnd()
          Retrieves the possibly null value for the optional attribute scheduledEnd.
 Date getScheduledStart()
          Retrieves the possibly null value for the optional attribute scheduledStart.
 int getTotalVotes()
          Retrieves the value for the attribute totalVotes.
 List<Boolean> getUserBoolean4()
          Retrieves a list containing all the elements for the attribute userBoolean4.
 Short getUserCode0()
          Retrieves the possibly null value for the optional attribute userCode0.
 Short getUserCode1()
          Retrieves the possibly null value for the optional attribute userCode1.
 Short getUserCode2()
          Retrieves the possibly null value for the optional attribute userCode2.
 Short getUserCode3()
          Retrieves the possibly null value for the optional attribute userCode3.
 List<Short> getUserCode4()
          Retrieves a list containing all the elements for the attribute userCode4.
 javax.xml.datatype.XMLGregorianCalendar getUserDate0()
          Retrieves the possibly null value for the optional attribute userDate0.
 javax.xml.datatype.XMLGregorianCalendar getUserDate1()
          Retrieves the possibly null value for the optional attribute userDate1.
 javax.xml.datatype.XMLGregorianCalendar getUserDate2()
          Retrieves the possibly null value for the optional attribute userDate2.
 javax.xml.datatype.XMLGregorianCalendar getUserDate3()
          Retrieves the possibly null value for the optional attribute userDate3.
 List<javax.xml.datatype.XMLGregorianCalendar> getUserDate4()
          Retrieves a list containing all the elements for the attribute userDate4.
 Date getUserDateTime0()
          Retrieves the possibly null value for the optional attribute userDateTime0.
 Date getUserDateTime1()
          Retrieves the possibly null value for the optional attribute userDateTime1.
 Date getUserDateTime2()
          Retrieves the possibly null value for the optional attribute userDateTime2.
 Date getUserDateTime3()
          Retrieves the possibly null value for the optional attribute userDateTime3.
 List<Date> getUserDateTime4()
          Retrieves a list containing all the elements for the attribute userDateTime4.
 BigDecimal getUserNumber0()
          Retrieves the possibly null value for the optional attribute userNumber0.
 BigDecimal getUserNumber1()
          Retrieves the possibly null value for the optional attribute userNumber1.
 BigDecimal getUserNumber2()
          Retrieves the possibly null value for the optional attribute userNumber2.
 BigDecimal getUserNumber3()
          Retrieves the possibly null value for the optional attribute userNumber3.
 List<BigDecimal> getUserNumber4()
          Retrieves a list containing all the elements for the attribute userNumber4.
 String getUserString0()
          Retrieves the possibly null value for the optional attribute userString0.
 String getUserString1()
          Retrieves the possibly null value for the optional attribute userString1.
 String getUserString2()
          Retrieves the possibly null value for the optional attribute userString2.
 String getUserString3()
          Retrieves the possibly null value for the optional attribute userString3.
 List<String> getUserString4()
          Retrieves a list containing all the elements for the attribute userString4.
<T extends org.openmdx.compatibility.view1.cci2.View>
Collection<T>
getView()
          Retrieves a set containing all the elements for the reference view.
 org.openmdx.compatibility.view1.cci2.View getView(boolean namespaceIsPersistent, String namespace)
          Retrieves the value for the reference view for the specified qualifier attribute value.
<T extends ActivityVote>
Collection<T>
getVote()
          Retrieves a set containing all the elements for the reference vote.
 ActivityVote getVote(boolean idIsPersistent, String id)
          Retrieves the value for the reference vote for the specified qualifier attribute value.
<T extends WorkReportEntry>
Collection<T>
getWorkReportEntry()
          Retrieves a set containing all the elements for the reference workReportEntry.
 WorkReportEntry getWorkReportEntry(boolean idIsPersistent, String id)
          Retrieves the value for the reference workReportEntry for the specified qualifier attribute value.
 ImportResult importItem(byte[] item, String itemMimeType, String itemName, short locale)
           
 Boolean isAllDayEvent()
          Retrieves the possibly null value for the optional attribute isAllDayEvent.
 Boolean isDisabled()
          Retrieves the possibly null value for the optional attribute disabled.
 Boolean isUserBoolean0()
          Retrieves the possibly null value for the optional attribute userBoolean0.
 Boolean isUserBoolean1()
          Retrieves the possibly null value for the optional attribute userBoolean1.
 Boolean isUserBoolean2()
          Retrieves the possibly null value for the optional attribute userBoolean2.
 Boolean isUserBoolean3()
          Retrieves the possibly null value for the optional attribute userBoolean3.
static Activity.Identity newIdentity(org.openmdx.base.cci2.Segment.Identity segment, boolean idIsPersistent, String id)
           
protected  org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
           
protected  List<String> openmdxjdoGetClass()
          Retrieve the model class
protected  String openmdxjdoGetObjectId()
          Retrieve the object's JDO identity key
static CloseableCollection<Activity> openmdxjdoGetObjectsByParent(Segment segment)
          Navigate through an object's composite association
protected  int openmdxjdoGetSize(int field)
           
protected
<E extends org.w3c.jdo2.AbstractObject.Slice>
SortedMap<Integer,E>
openmdxjdoGetSlices()
           
protected  void openmdxjdoSetSize(int field, int size)
           
static Activity.Identity openmdxjdoToIdentity(org.oasisopen.spi2.ObjectId objectId)
           
 org.openmdx.base.cci2.Void reapplyActivityCreator(ActivityCreator activityCreator)
           
 ModifySecureObjectResult removeAllOwningGroup(short mode)
           
 ModifySecureObjectResult removeOwningGroup(PrincipalGroup group, short mode)
           
 org.openmdx.base.cci2.Void sendAlert(String description, short importance, String name, org.openmdx.base.cci2.BasicObject reference, Integer resendDelayInSeconds, String toUsers)
           
 ModifySecureObjectResult setAccessLevel(short accessLevelBrowse, short accessLevelDelete, short accessLevelUpdate, short mode)
           
 void setAccessLevelBrowse(short accessLevelBrowse)
          Sets a new value for the attribute accessLevelBrowse.
 void setAccessLevelDelete(short accessLevelDelete)
          Sets a new value for the attribute accessLevelDelete.
 void setAccessLevelUpdate(short accessLevelUpdate)
          Sets a new value for the attribute accessLevelUpdate.
 void setActivityNumber(String activityNumber)
          Sets a new value for the attribute activityNumber.
 void setActivityState(short activityState)
          Sets a new value for the attribute activityState.
 void setActualEnd(Date actualEnd)
          Sets a new value for the attribute actualEnd.
 void setActualStart(Date actualStart)
          Sets a new value for the attribute actualStart.
 void setAllDayEvent(Boolean isAllDayEvent)
          Sets a new value for the attribute isAllDayEvent.
 void setAssignedTo(Contact assignedTo)
          Sets a new value for the reference assignedTo.
 void setCategory(String... category)
          Clears category and adds the given value(s).
 void setDescription(String description)
          Sets a new value for the attribute description.
 void setDetailedDescription(String detailedDescription)
          Sets a new value for the attribute detailedDescription.
 void setDisabled(Boolean disabled)
          Sets a new value for the attribute disabled.
 void setDisabledReason(String disabledReason)
          Sets a new value for the attribute disabledReason.
 void setDueBy(Date dueBy)
          Sets a new value for the attribute dueBy.
 void setExternalLink(String... externalLink)
          Clears externalLink and adds the given value(s).
 void setLocation(String location)
          Sets a new value for the attribute location.
 void setMisc1(String misc1)
          Sets a new value for the attribute misc1.
 void setMisc2(String misc2)
          Sets a new value for the attribute misc2.
 void setMisc3(String misc3)
          Sets a new value for the attribute misc3.
 void setName(String name)
          Sets a new value for the attribute name.
 void setOriginalScheduledEnd(Date originalScheduledEnd)
          Sets a new value for the attribute originalScheduledEnd.
 ModifySecureObjectResult setOwningUser(short mode, User user)
           
 void setOwningUser(User owningUser)
          Sets a new value for the reference owningUser.
 void setPercentComplete(Short percentComplete)
          Sets a new value for the attribute percentComplete.
 void setPriority(short priority)
          Sets a new value for the attribute priority.
 void setReportingAccount(Account reportingAccount)
          Sets a new value for the reference reportingAccount.
 void setReportingContact(Contact reportingContact)
          Sets a new value for the reference reportingContact.
 void setScheduledEnd(Date scheduledEnd)
          Sets a new value for the attribute scheduledEnd.
 void setScheduledStart(Date scheduledStart)
          Sets a new value for the attribute scheduledStart.
 void setUserBoolean0(Boolean userBoolean0)
          Sets a new value for the attribute userBoolean0.
 void setUserBoolean1(Boolean userBoolean1)
          Sets a new value for the attribute userBoolean1.
 void setUserBoolean2(Boolean userBoolean2)
          Sets a new value for the attribute userBoolean2.
 void setUserBoolean3(Boolean userBoolean3)
          Sets a new value for the attribute userBoolean3.
 void setUserBoolean4(boolean... userBoolean4)
          Clears userBoolean4 and adds the given value(s).
 void setUserCode0(Short userCode0)
          Sets a new value for the attribute userCode0.
 void setUserCode1(Short userCode1)
          Sets a new value for the attribute userCode1.
 void setUserCode2(Short userCode2)
          Sets a new value for the attribute userCode2.
 void setUserCode3(Short userCode3)
          Sets a new value for the attribute userCode3.
 void setUserCode4(short... userCode4)
          Clears userCode4 and adds the given value(s).
 void setUserDate0(javax.xml.datatype.XMLGregorianCalendar userDate0)
          Sets a new value for the attribute userDate0.
 void setUserDate1(javax.xml.datatype.XMLGregorianCalendar userDate1)
          Sets a new value for the attribute userDate1.
 void setUserDate2(javax.xml.datatype.XMLGregorianCalendar userDate2)
          Sets a new value for the attribute userDate2.
 void setUserDate3(javax.xml.datatype.XMLGregorianCalendar userDate3)
          Sets a new value for the attribute userDate3.
 void setUserDate4(javax.xml.datatype.XMLGregorianCalendar... userDate4)
          Clears userDate4 and adds the given value(s).
 void setUserDateTime0(Date userDateTime0)
          Sets a new value for the attribute userDateTime0.
 void setUserDateTime1(Date userDateTime1)
          Sets a new value for the attribute userDateTime1.
 void setUserDateTime2(Date userDateTime2)
          Sets a new value for the attribute userDateTime2.
 void setUserDateTime3(Date userDateTime3)
          Sets a new value for the attribute userDateTime3.
 void setUserDateTime4(Date... userDateTime4)
          Clears userDateTime4 and adds the given value(s).
 void setUserNumber0(BigDecimal userNumber0)
          Sets a new value for the attribute userNumber0.
 void setUserNumber1(BigDecimal userNumber1)
          Sets a new value for the attribute userNumber1.
 void setUserNumber2(BigDecimal userNumber2)
          Sets a new value for the attribute userNumber2.
 void setUserNumber3(BigDecimal userNumber3)
          Sets a new value for the attribute userNumber3.
 void setUserNumber4(BigDecimal... userNumber4)
          Clears userNumber4 and adds the given value(s).
 void setUserString0(String userString0)
          Sets a new value for the attribute userString0.
 void setUserString1(String userString1)
          Sets a new value for the attribute userString1.
 void setUserString2(String userString2)
          Sets a new value for the attribute userString2.
 void setUserString3(String userString3)
          Sets a new value for the attribute userString3.
 void setUserString4(String... userString4)
          Clears userString4 and adds the given value(s).
 org.openmdx.base.cci2.Void updateIcal()
           
 UpdateIndexResult updateIndex()
           
 org.openmdx.base.cci2.Void voteForActivity(String description, String name)
           
 
Methods inherited from class org.w3c.jdo2.AbstractObject
openmdxjdoClassName, openmdxjdoGetIdentityBuilder, openmdxjdoGetList, openmdxjdoGetObjectsByParent, openmdxjdoGetSet, openmdxjdoGetSparseArray, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement
 
Methods inherited from class org.oasisopen.jdo2.Identifiable
openmdxjdoGetObject, openmdxjdoGetObjectById, openmdxjdoGetObjectId, openmdxjdoGetObjectSet, openmdxjdoNewObjectId, openmdxjdoNewObjectId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS

public static final List<String> CLASS
Define the model class org::opencrx::kernel::activity1::Activity


BASE_CLASS

public static final List<String> BASE_CLASS
Define this class as base class

See Also:
Activity.CLASS
Constructor Detail

Activity

public Activity()
Method Detail

openmdxjdoGetObjectId

protected String openmdxjdoGetObjectId()
Retrieve the object's JDO identity key

Specified by:
openmdxjdoGetObjectId in class org.oasisopen.jdo2.Identifiable
Returns:
the value of the object's JDO identity key

openmdxjdoGetSlices

protected final <E extends org.w3c.jdo2.AbstractObject.Slice> SortedMap<Integer,E> openmdxjdoGetSlices()
Overrides:
openmdxjdoGetSlices in class org.w3c.jdo2.AbstractObject

getAccessLevelDelete

public short getAccessLevelDelete()
Retrieves the value for the attribute accessLevelDelete.

Specified by:
getAccessLevelDelete in interface SecureObject
Returns:
The non-null value for attribute accessLevelDelete.

setAccessLevelDelete

public void setAccessLevelDelete(short accessLevelDelete)
Sets a new value for the attribute accessLevelDelete.

Specified by:
setAccessLevelDelete in interface SecureObject
Parameters:
accessLevelDelete - The non-null new value for attribute accessLevelDelete.

getModifiedBy

public final Set<String> getModifiedBy()
Retrieves a set containing all the elements for the attribute modifiedBy.

Specified by:
getModifiedBy in interface org.openmdx.base.cci2.BasicObject
Returns:
A set containing all elements for this attribute.

getDetailedDescription

public final String getDetailedDescription()
Retrieves the possibly null value for the optional attribute detailedDescription.

Specified by:
getDetailedDescription in interface Activity
Returns:
The possibly null value for attribute detailedDescription.

setDetailedDescription

public void setDetailedDescription(String detailedDescription)
Sets a new value for the attribute detailedDescription.

Specified by:
setDetailedDescription in interface Activity
Parameters:
detailedDescription - The possibly null new value for attribute detailedDescription.

getPropertySetEntry

public <T extends PropertySetEntry> Collection<T> getPropertySetEntry()
Retrieves a set containing all the elements for the reference propertySetEntry.

Specified by:
getPropertySetEntry in interface CrxObject
Returns:
A set containing all the elements for this reference.

getPropertySetEntry

public PropertySetEntry getPropertySetEntry(boolean idIsPersistent,
                                            String id)
Retrieves the value for the reference propertySetEntry for the specified qualifier attribute value.

Specified by:
getPropertySetEntry in interface CrxObject
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

getAccessLevelBrowse

public short getAccessLevelBrowse()
Retrieves the value for the attribute accessLevelBrowse.

Specified by:
getAccessLevelBrowse in interface SecureObject
Returns:
The non-null value for attribute accessLevelBrowse.

setAccessLevelBrowse

public void setAccessLevelBrowse(short accessLevelBrowse)
Sets a new value for the attribute accessLevelBrowse.

Specified by:
setAccessLevelBrowse in interface SecureObject
Parameters:
accessLevelBrowse - The non-null new value for attribute accessLevelBrowse.

getScheduledEnd

public final Date getScheduledEnd()
Retrieves the possibly null value for the optional attribute scheduledEnd.

Specified by:
getScheduledEnd in interface Activity
Returns:
The possibly null value for attribute scheduledEnd.

setScheduledEnd

public void setScheduledEnd(Date scheduledEnd)
Sets a new value for the attribute scheduledEnd.

Specified by:
setScheduledEnd in interface Activity
Parameters:
scheduledEnd - The possibly null new value for attribute scheduledEnd.

getAssignedResource

public <T extends ResourceAssignment> Collection<T> getAssignedResource()
Retrieves a set containing all the elements for the reference assignedResource.

Specified by:
getAssignedResource in interface Activity
Returns:
A set containing all the elements for this reference.

getAssignedResource

public ResourceAssignment getAssignedResource(boolean idIsPersistent,
                                              String id)
Retrieves the value for the reference assignedResource for the specified qualifier attribute value.

Specified by:
getAssignedResource in interface Activity
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addAssignedResource

public void addAssignedResource(boolean idIsPersistent,
                                String id,
                                ResourceAssignment assignedResource)
Adds the specified element to the set of the values for the reference assignedResource.

Note: This is an extension to the JMI 1 standard.

Specified by:
addAssignedResource in interface Activity
Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
assignedResource - The element to be appended.

removeAllOwningGroup

public ModifySecureObjectResult removeAllOwningGroup(short mode)
Specified by:
removeAllOwningGroup in interface SecureObject

isUserBoolean0

public final Boolean isUserBoolean0()
Retrieves the possibly null value for the optional attribute userBoolean0.

Specified by:
isUserBoolean0 in interface CrxObject
Returns:
The possibly null value for attribute userBoolean0.

setUserBoolean0

public void setUserBoolean0(Boolean userBoolean0)
Sets a new value for the attribute userBoolean0.

Specified by:
setUserBoolean0 in interface CrxObject
Parameters:
userBoolean0 - The possibly null new value for attribute userBoolean0.

getUserDateTime4

public final List<Date> getUserDateTime4()
Retrieves a list containing all the elements for the attribute userDateTime4.

Specified by:
getUserDateTime4 in interface CrxObject
Returns:
A list containing all elements for this attribute.

setUserDateTime4

public void setUserDateTime4(Date... userDateTime4)
Clears userDateTime4 and adds the given value(s).

This method is equivalent to

   list.clear();
   for(java.util.Date e : attributeName){
     list.add(e);
   }
 

Specified by:
setUserDateTime4 in interface CrxObject
Parameters:
userDateTime4 - value(s) to be added to userDateTime4

getUserDateTime2

public final Date getUserDateTime2()
Retrieves the possibly null value for the optional attribute userDateTime2.

Specified by:
getUserDateTime2 in interface CrxObject
Returns:
The possibly null value for attribute userDateTime2.

setUserDateTime2

public void setUserDateTime2(Date userDateTime2)
Sets a new value for the attribute userDateTime2.

Specified by:
setUserDateTime2 in interface CrxObject
Parameters:
userDateTime2 - The possibly null new value for attribute userDateTime2.

getUserDateTime3

public final Date getUserDateTime3()
Retrieves the possibly null value for the optional attribute userDateTime3.

Specified by:
getUserDateTime3 in interface CrxObject
Returns:
The possibly null value for attribute userDateTime3.

setUserDateTime3

public void setUserDateTime3(Date userDateTime3)
Sets a new value for the attribute userDateTime3.

Specified by:
setUserDateTime3 in interface CrxObject
Parameters:
userDateTime3 - The possibly null new value for attribute userDateTime3.

getUserBoolean4

public final List<Boolean> getUserBoolean4()
Retrieves a list containing all the elements for the attribute userBoolean4.

Specified by:
getUserBoolean4 in interface CrxObject
Returns:
A list containing all elements for this attribute.

setUserBoolean4

public void setUserBoolean4(boolean... userBoolean4)
Clears userBoolean4 and adds the given value(s).

This method is equivalent to

   list.clear();
   for(boolean e : attributeName){
     list.add(e);
   }
 

Specified by:
setUserBoolean4 in interface CrxObject
Parameters:
userBoolean4 - value(s) to be added to userBoolean4

getUserDateTime0

public final Date getUserDateTime0()
Retrieves the possibly null value for the optional attribute userDateTime0.

Specified by:
getUserDateTime0 in interface CrxObject
Returns:
The possibly null value for attribute userDateTime0.

setUserDateTime0

public void setUserDateTime0(Date userDateTime0)
Sets a new value for the attribute userDateTime0.

Specified by:
setUserDateTime0 in interface CrxObject
Parameters:
userDateTime0 - The possibly null new value for attribute userDateTime0.

setOwningUser

public ModifySecureObjectResult setOwningUser(short mode,
                                              User user)
Specified by:
setOwningUser in interface SecureObject

isUserBoolean3

public final Boolean isUserBoolean3()
Retrieves the possibly null value for the optional attribute userBoolean3.

Specified by:
isUserBoolean3 in interface CrxObject
Returns:
The possibly null value for attribute userBoolean3.

setUserBoolean3

public void setUserBoolean3(Boolean userBoolean3)
Sets a new value for the attribute userBoolean3.

Specified by:
setUserBoolean3 in interface CrxObject
Parameters:
userBoolean3 - The possibly null new value for attribute userBoolean3.

getProcessState

public ActivityProcessState getProcessState()
Retrieves the value for the reference processState.

Specified by:
getProcessState in interface Activity
Returns:
The – possibly null – value for this reference.

getUserDateTime1

public final Date getUserDateTime1()
Retrieves the possibly null value for the optional attribute userDateTime1.

Specified by:
getUserDateTime1 in interface CrxObject
Returns:
The possibly null value for attribute userDateTime1.

setUserDateTime1

public void setUserDateTime1(Date userDateTime1)
Sets a new value for the attribute userDateTime1.

Specified by:
setUserDateTime1 in interface CrxObject
Parameters:
userDateTime1 - The possibly null new value for attribute userDateTime1.

getInvolvedObject

public <T extends InvolvedObject> Collection<T> getInvolvedObject()
Retrieves a set containing all the elements for the reference involvedObject.

Specified by:
getInvolvedObject in interface Activity
Returns:
A set containing all the elements for this reference.

getInvolvedObject

public InvolvedObject getInvolvedObject(boolean idIsPersistent,
                                        String id)
Retrieves the value for the reference involvedObject for the specified qualifier attribute value.

Specified by:
getInvolvedObject in interface Activity
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addInvolvedObject

public void addInvolvedObject(boolean idIsPersistent,
                              String id,
                              InvolvedObject involvedObject)
Adds the specified element to the set of the values for the reference involvedObject.

Note: This is an extension to the JMI 1 standard.

Specified by:
addInvolvedObject in interface Activity
Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
involvedObject - The element to be appended.

isUserBoolean2

public final Boolean isUserBoolean2()
Retrieves the possibly null value for the optional attribute userBoolean2.

Specified by:
isUserBoolean2 in interface CrxObject
Returns:
The possibly null value for attribute userBoolean2.

setUserBoolean2

public void setUserBoolean2(Boolean userBoolean2)
Sets a new value for the attribute userBoolean2.

Specified by:
setUserBoolean2 in interface CrxObject
Parameters:
userBoolean2 - The possibly null new value for attribute userBoolean2.

isUserBoolean1

public final Boolean isUserBoolean1()
Retrieves the possibly null value for the optional attribute userBoolean1.

Specified by:
isUserBoolean1 in interface CrxObject
Returns:
The possibly null value for attribute userBoolean1.

setUserBoolean1

public void setUserBoolean1(Boolean userBoolean1)
Sets a new value for the attribute userBoolean1.

Specified by:
setUserBoolean1 in interface CrxObject
Parameters:
userBoolean1 - The possibly null new value for attribute userBoolean1.

getOwningGroup

public <T extends PrincipalGroup> List<T> getOwningGroup()
Retrieves the Collection of objects referenced by owningGroup.

Specified by:
getOwningGroup in interface SecureObject
Returns:
The Collection of referenced objects.

getUserDate0

public final javax.xml.datatype.XMLGregorianCalendar getUserDate0()
Retrieves the possibly null value for the optional attribute userDate0.

Specified by:
getUserDate0 in interface CrxObject
Returns:
The possibly null value for attribute userDate0.

setUserDate0

public void setUserDate0(javax.xml.datatype.XMLGregorianCalendar userDate0)
Sets a new value for the attribute userDate0.

Specified by:
setUserDate0 in interface CrxObject
Parameters:
userDate0 - The possibly null new value for attribute userDate0.

clone_

public CloneResult clone_(String referenceFilter)
Specified by:
clone_ in interface Cloneable

addOwningGroup

public ModifySecureObjectResult addOwningGroup(PrincipalGroup group,
                                               short mode)
Specified by:
addOwningGroup in interface SecureObject

getVote

public <T extends ActivityVote> Collection<T> getVote()
Retrieves a set containing all the elements for the reference vote.

Specified by:
getVote in interface Activity
Returns:
A set containing all the elements for this reference.

getVote

public ActivityVote getVote(boolean idIsPersistent,
                            String id)
Retrieves the value for the reference vote for the specified qualifier attribute value.

Specified by:
getVote in interface Activity
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addVote

public void addVote(boolean idIsPersistent,
                    String id,
                    ActivityVote vote)
Adds the specified element to the set of the values for the reference vote.

Note: This is an extension to the JMI 1 standard.

Specified by:
addVote in interface Activity
Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
vote - The element to be appended.

getActivityState

public short getActivityState()
Retrieves the value for the attribute activityState.

Specified by:
getActivityState in interface Activity
Returns:
The non-null value for attribute activityState.

setActivityState

public void setActivityState(short activityState)
Sets a new value for the attribute activityState.

Specified by:
setActivityState in interface Activity
Parameters:
activityState - The non-null new value for attribute activityState.

getUserDate3

public final javax.xml.datatype.XMLGregorianCalendar getUserDate3()
Retrieves the possibly null value for the optional attribute userDate3.

Specified by:
getUserDate3 in interface CrxObject
Returns:
The possibly null value for attribute userDate3.

setUserDate3

public void setUserDate3(javax.xml.datatype.XMLGregorianCalendar userDate3)
Sets a new value for the attribute userDate3.

Specified by:
setUserDate3 in interface CrxObject
Parameters:
userDate3 - The possibly null new value for attribute userDate3.

getUserDate4

public final List<javax.xml.datatype.XMLGregorianCalendar> getUserDate4()
Retrieves a list containing all the elements for the attribute userDate4.

Specified by:
getUserDate4 in interface CrxObject
Returns:
A list containing all elements for this attribute.

setUserDate4

public void setUserDate4(javax.xml.datatype.XMLGregorianCalendar... userDate4)
Clears userDate4 and adds the given value(s).

This method is equivalent to

   list.clear();
   for(javax.xml.datatype.XMLGregorianCalendar e : attributeName){
     list.add(e);
   }
 

Specified by:
setUserDate4 in interface CrxObject
Parameters:
userDate4 - value(s) to be added to userDate4

getUserDate1

public final javax.xml.datatype.XMLGregorianCalendar getUserDate1()
Retrieves the possibly null value for the optional attribute userDate1.

Specified by:
getUserDate1 in interface CrxObject
Returns:
The possibly null value for attribute userDate1.

setUserDate1

public void setUserDate1(javax.xml.datatype.XMLGregorianCalendar userDate1)
Sets a new value for the attribute userDate1.

Specified by:
setUserDate1 in interface CrxObject
Parameters:
userDate1 - The possibly null new value for attribute userDate1.

getEffortEstimate

public <T extends EffortEstimate> Collection<T> getEffortEstimate()
Retrieves a set containing all the elements for the reference effortEstimate.

Specified by:
getEffortEstimate in interface Activity
Returns:
A set containing all the elements for this reference.

getEffortEstimate

public EffortEstimate getEffortEstimate(boolean idIsPersistent,
                                        String id)
Retrieves the value for the reference effortEstimate for the specified qualifier attribute value.

Specified by:
getEffortEstimate in interface Activity
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addEffortEstimate

public void addEffortEstimate(boolean idIsPersistent,
                              String id,
                              EffortEstimate effortEstimate)
Adds the specified element to the set of the values for the reference effortEstimate.

Note: This is an extension to the JMI 1 standard.

Specified by:
addEffortEstimate in interface Activity
Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
effortEstimate - The element to be appended.

getUserDate2

public final javax.xml.datatype.XMLGregorianCalendar getUserDate2()
Retrieves the possibly null value for the optional attribute userDate2.

Specified by:
getUserDate2 in interface CrxObject
Returns:
The possibly null value for attribute userDate2.

setUserDate2

public void setUserDate2(javax.xml.datatype.XMLGregorianCalendar userDate2)
Sets a new value for the attribute userDate2.

Specified by:
setUserDate2 in interface CrxObject
Parameters:
userDate2 - The possibly null new value for attribute userDate2.

getCategory

public final List<String> getCategory()
Retrieves a list containing all the elements for the attribute category.

Specified by:
getCategory in interface CrxObject
Returns:
A list containing all elements for this attribute.

setCategory

public void setCategory(String... category)
Clears category and adds the given value(s).

This method is equivalent to

   list.clear();
   for(java.lang.String e : attributeName){
     list.add(e);
   }
 

Specified by:
setCategory in interface CrxObject
Parameters:
category - value(s) to be added to category

getCreatedBy

public final Set<String> getCreatedBy()
Retrieves a set containing all the elements for the attribute createdBy.

Specified by:
getCreatedBy in interface org.openmdx.base.cci2.BasicObject
Returns:
A set containing all elements for this attribute.

setAccessLevel

public ModifySecureObjectResult setAccessLevel(short accessLevelBrowse,
                                               short accessLevelDelete,
                                               short accessLevelUpdate,
                                               short mode)
Specified by:
setAccessLevel in interface SecureObject

getDepotReference

public <T extends DepotReference> Collection<T> getDepotReference()
Retrieves a set containing all the elements for the reference depotReference.

Specified by:
getDepotReference in interface DepotReferenceHolder
Returns:
A set containing all the elements for this reference.

getDepotReference

public DepotReference getDepotReference(boolean idIsPersistent,
                                        String id)
Retrieves the value for the reference depotReference for the specified qualifier attribute value.

Specified by:
getDepotReference in interface DepotReferenceHolder
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addDepotReference

public void addDepotReference(boolean idIsPersistent,
                              String id,
                              DepotReference depotReference)
Adds the specified element to the set of the values for the reference depotReference.

Note: This is an extension to the JMI 1 standard.

Specified by:
addDepotReference in interface DepotReferenceHolder
Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
depotReference - The element to be appended.

getIndexEntry

public <T extends IndexEntry> Collection<T> getIndexEntry()
Retrieves a set containing all the elements for the reference indexEntry.

Specified by:
getIndexEntry in interface Indexed
Returns:
A set containing all the elements for this reference.

getIndexEntry

public IndexEntry getIndexEntry(boolean idIsPersistent,
                                String id)
Retrieves the value for the reference indexEntry for the specified qualifier attribute value.

Specified by:
getIndexEntry in interface Indexed
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

getScheduledStart

public final Date getScheduledStart()
Retrieves the possibly null value for the optional attribute scheduledStart.

Specified by:
getScheduledStart in interface Activity
Returns:
The possibly null value for attribute scheduledStart.

setScheduledStart

public void setScheduledStart(Date scheduledStart)
Sets a new value for the attribute scheduledStart.

Specified by:
setScheduledStart in interface Activity
Parameters:
scheduledStart - The possibly null new value for attribute scheduledStart.

getIcal

public final String getIcal()
Retrieves the possibly null value for the optional attribute ical.

Specified by:
getIcal in interface Activity
Returns:
The possibly null value for attribute ical.

getView

public <T extends org.openmdx.compatibility.view1.cci2.View> Collection<T> getView()
Retrieves a set containing all the elements for the reference view.

Specified by:
getView in interface org.openmdx.compatibility.view1.cci2.ViewCapable
Returns:
A set containing all the elements for this reference.

getView

public org.openmdx.compatibility.view1.cci2.View getView(boolean namespaceIsPersistent,
                                                         String namespace)
Retrieves the value for the reference view for the specified qualifier attribute value.

Specified by:
getView in interface org.openmdx.compatibility.view1.cci2.ViewCapable
Parameters:
namespaceIsPersistent - Defines whether value for the qualifier is persistent or not
namespace - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

getActivityType

public ActivityType getActivityType()
Retrieves the value for the reference activityType.

Specified by:
getActivityType in interface Activity
Returns:
The – possibly null – value for this reference.

getOwningUser

public User getOwningUser()
Retrieves the value for the reference owningUser.

Specified by:
getOwningUser in interface SecureObject
Returns:
The – possibly null – value for this reference.

setOwningUser

public void setOwningUser(User owningUser)
Sets a new value for the reference owningUser.

Specified by:
setOwningUser in interface SecureObject
Parameters:
owningUser - The non-null new value for this reference.

getMisc1

public final String getMisc1()
Retrieves the possibly null value for the optional attribute misc1.

Specified by:
getMisc1 in interface Activity
Returns:
The possibly null value for attribute misc1.

setMisc1

public void setMisc1(String misc1)
Sets a new value for the attribute misc1.

Specified by:
setMisc1 in interface Activity
Parameters:
misc1 - The possibly null new value for attribute misc1.

getMisc2

public final String getMisc2()
Retrieves the possibly null value for the optional attribute misc2.

Specified by:
getMisc2 in interface Activity
Returns:
The possibly null value for attribute misc2.

setMisc2

public void setMisc2(String misc2)
Sets a new value for the attribute misc2.

Specified by:
setMisc2 in interface Activity
Parameters:
misc2 - The possibly null new value for attribute misc2.

getExternalLink

public final List<String> getExternalLink()
Retrieves a list containing all the elements for the attribute externalLink.

Specified by:
getExternalLink in interface CrxObject
Returns:
A list containing all elements for this attribute.

setExternalLink

public void setExternalLink(String... externalLink)
Clears externalLink and adds the given value(s).

This method is equivalent to

   list.clear();
   for(java.lang.String e : attributeName){
     list.add(e);
   }
 

Specified by:
setExternalLink in interface CrxObject
Parameters:
externalLink - value(s) to be added to externalLink

getMisc3

public final String getMisc3()
Retrieves the possibly null value for the optional attribute misc3.

Specified by:
getMisc3 in interface Activity
Returns:
The possibly null value for attribute misc3.

setMisc3

public void setMisc3(String misc3)
Sets a new value for the attribute misc3.

Specified by:
setMisc3 in interface Activity
Parameters:
misc3 - The possibly null new value for attribute misc3.

getActivityLinkTo

public <T extends ActivityLinkTo> Collection<T> getActivityLinkTo()
Retrieves a set containing all the elements for the reference activityLinkTo.

Specified by:
getActivityLinkTo in interface Activity
Returns:
A set containing all the elements for this reference.

getActivityLinkTo

public ActivityLinkTo getActivityLinkTo(boolean idIsPersistent,
                                        String id)
Retrieves the value for the reference activityLinkTo for the specified qualifier attribute value.

Specified by:
getActivityLinkTo in interface Activity
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addActivityLinkTo

public void addActivityLinkTo(boolean idIsPersistent,
                              String id,
                              ActivityLinkTo activityLinkTo)
Adds the specified element to the set of the values for the reference activityLinkTo.

Note: This is an extension to the JMI 1 standard.

Specified by:
addActivityLinkTo in interface Activity
Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
activityLinkTo - The element to be appended.

getActualEnd

public final Date getActualEnd()
Retrieves the possibly null value for the optional attribute actualEnd.

Specified by:
getActualEnd in interface Activity
Returns:
The possibly null value for attribute actualEnd.

setActualEnd

public void setActualEnd(Date actualEnd)
Sets a new value for the attribute actualEnd.

Specified by:
setActualEnd in interface Activity
Parameters:
actualEnd - The possibly null new value for attribute actualEnd.

getMainEstimateEffortMinutes

public final Integer getMainEstimateEffortMinutes()
Retrieves the possibly null value for the optional attribute mainEstimateEffortMinutes.

Specified by:
getMainEstimateEffortMinutes in interface Activity
Returns:
The possibly null value for attribute mainEstimateEffortMinutes.

getActualEffortMinutes

public final Integer getActualEffortMinutes()
Retrieves the possibly null value for the optional attribute actualEffortMinutes.

Specified by:
getActualEffortMinutes in interface Activity
Returns:
The possibly null value for attribute actualEffortMinutes.

getDisabledReason

public final String getDisabledReason()
Retrieves the possibly null value for the optional attribute disabledReason.

Specified by:
getDisabledReason in interface CrxObject
Returns:
The possibly null value for attribute disabledReason.

setDisabledReason

public void setDisabledReason(String disabledReason)
Sets a new value for the attribute disabledReason.

Specified by:
setDisabledReason in interface CrxObject
Parameters:
disabledReason - The possibly null new value for attribute disabledReason.

getIdentity

public String getIdentity()
Retrieves the value for the attribute identity.

Specified by:
getIdentity in interface org.openmdx.base.cci2.ExtentCapable
Returns:
The non-null value for attribute identity.

getCreatedAt

public Date getCreatedAt()
Retrieves the value for the attribute createdAt.

Specified by:
getCreatedAt in interface org.openmdx.base.cci2.BasicObject
Returns:
The non-null value for attribute createdAt.

getTotalVotes

public int getTotalVotes()
Retrieves the value for the attribute totalVotes.

Specified by:
getTotalVotes in interface Activity
Returns:
The non-null value for attribute totalVotes.

getActualEffortHhMm

public final String getActualEffortHhMm()
Retrieves the possibly null value for the optional attribute actualEffortHhMm.

Specified by:
getActualEffortHhMm in interface Activity
Returns:
The possibly null value for attribute actualEffortHhMm.

getNote

public <T extends Note> Collection<T> getNote()
Retrieves a set containing all the elements for the reference note.

Specified by:
getNote in interface CrxObject
Returns:
A set containing all the elements for this reference.

getNote

public Note getNote(boolean idIsPersistent,
                    String id)
Retrieves the value for the reference note for the specified qualifier attribute value.

Specified by:
getNote in interface CrxObject
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addNote

public void addNote(boolean idIsPersistent,
                    String id,
                    Note note)
Adds the specified element to the set of the values for the reference note.

Note: This is an extension to the JMI 1 standard.

Specified by:
addNote in interface CrxObject
Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
note - The element to be appended.

getPercentComplete

public final Short getPercentComplete()
Retrieves the possibly null value for the optional attribute percentComplete.

Specified by:
getPercentComplete in interface Activity
Returns:
The possibly null value for attribute percentComplete.

setPercentComplete

public void setPercentComplete(Short percentComplete)
Sets a new value for the attribute percentComplete.

Specified by:
setPercentComplete in interface Activity
Parameters:
percentComplete - The possibly null new value for attribute percentComplete.

updateIndex

public UpdateIndexResult updateIndex()
Specified by:
updateIndex in interface Indexed

assignTo

public org.openmdx.base.cci2.Void assignTo(Resource resource)
Specified by:
assignTo in interface Activity

exportXml

public ExportResult exportXml(String attributeFilter,
                              String referenceFilter)
Specified by:
exportXml in interface XmlExporter

getUserString4

public final List<String> getUserString4()
Retrieves a list containing all the elements for the attribute userString4.

Specified by:
getUserString4 in interface CrxObject
Returns:
A list containing all elements for this attribute.

setUserString4

public void setUserString4(String... userString4)
Clears userString4 and adds the given value(s).

This method is equivalent to

   list.clear();
   for(java.lang.String e : attributeName){
     list.add(e);
   }
 

Specified by:
setUserString4 in interface CrxObject
Parameters:
userString4 - value(s) to be added to userString4

getLocation

public final String getLocation()
Retrieves the possibly null value for the optional attribute location.

Specified by:
getLocation in interface Activity
Returns:
The possibly null value for attribute location.

setLocation

public void setLocation(String location)
Sets a new value for the attribute location.

Specified by:
setLocation in interface Activity
Parameters:
location - The possibly null new value for attribute location.

getAssignedTo

public Contact getAssignedTo()
Retrieves the value for the reference assignedTo.

Specified by:
getAssignedTo in interface Activity
Returns:
The – possibly null – value for this reference.

setAssignedTo

public void setAssignedTo(Contact assignedTo)
Sets a new value for the reference assignedTo.

Specified by:
setAssignedTo in interface Activity
Parameters:
assignedTo - The non-null new value for this reference.

getUserString0

public final String getUserString0()
Retrieves the possibly null value for the optional attribute userString0.

Specified by:
getUserString0 in interface CrxObject
Returns:
The possibly null value for attribute userString0.

setUserString0

public void setUserString0(String userString0)
Sets a new value for the attribute userString0.

Specified by:
setUserString0 in interface CrxObject
Parameters:
userString0 - The possibly null new value for attribute userString0.

getWorkReportEntry

public <T extends WorkReportEntry> Collection<T> getWorkReportEntry()
Retrieves a set containing all the elements for the reference workReportEntry.

Specified by:
getWorkReportEntry in interface Activity
Returns:
A set containing all the elements for this reference.

getWorkReportEntry

public WorkReportEntry getWorkReportEntry(boolean idIsPersistent,
                                          String id)
Retrieves the value for the reference workReportEntry for the specified qualifier attribute value.

Specified by:
getWorkReportEntry in interface Activity
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

getUserString1

public final String getUserString1()
Retrieves the possibly null value for the optional attribute userString1.

Specified by:
getUserString1 in interface CrxObject
Returns:
The possibly null value for attribute userString1.

setUserString1

public void setUserString1(String userString1)
Sets a new value for the attribute userString1.

Specified by:
setUserString1 in interface CrxObject
Parameters:
userString1 - The possibly null new value for attribute userString1.

getReportingContact

public Contact getReportingContact()
Retrieves the value for the reference reportingContact.

Specified by:
getReportingContact in interface Activity
Returns:
The – possibly null – value for this reference.

setReportingContact

public void setReportingContact(Contact reportingContact)
Sets a new value for the reference reportingContact.

Specified by:
setReportingContact in interface Activity
Parameters:
reportingContact - The non-null new value for this reference.

getUserString2

public final String getUserString2()
Retrieves the possibly null value for the optional attribute userString2.

Specified by:
getUserString2 in interface CrxObject
Returns:
The possibly null value for attribute userString2.

setUserString2

public void setUserString2(String userString2)
Sets a new value for the attribute userString2.

Specified by:
setUserString2 in interface CrxObject
Parameters:
userString2 - The possibly null new value for attribute userString2.

getActivityLinkFrom

public <T extends ActivityLinkFrom> Collection<T> getActivityLinkFrom()
Retrieves a set containing all the elements for the reference activityLinkFrom.

Specified by:
getActivityLinkFrom in interface Activity
Returns:
A set containing all the elements for this reference.

getActivityLinkFrom

public ActivityLinkFrom getActivityLinkFrom(boolean idIsPersistent,
                                            String id)
Retrieves the value for the reference activityLinkFrom for the specified qualifier attribute value.

Specified by:
getActivityLinkFrom in interface Activity
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

getUserString3

public final String getUserString3()
Retrieves the possibly null value for the optional attribute userString3.

Specified by:
getUserString3 in interface CrxObject
Returns:
The possibly null value for attribute userString3.

setUserString3

public void setUserString3(String userString3)
Sets a new value for the attribute userString3.

Specified by:
setUserString3 in interface CrxObject
Parameters:
userString3 - The possibly null new value for attribute userString3.

getMainEstimateEffortHhMm

public final String getMainEstimateEffortHhMm()
Retrieves the possibly null value for the optional attribute mainEstimateEffortHhMm.

Specified by:
getMainEstimateEffortHhMm in interface Activity
Returns:
The possibly null value for attribute mainEstimateEffortHhMm.

getAdditionalExternalLink

public <T extends AdditionalExternalLink> Collection<T> getAdditionalExternalLink()
Retrieves a set containing all the elements for the reference additionalExternalLink.

Specified by:
getAdditionalExternalLink in interface CrxObject
Returns:
A set containing all the elements for this reference.

getAdditionalExternalLink

public AdditionalExternalLink getAdditionalExternalLink(boolean idIsPersistent,
                                                        String id)
Retrieves the value for the reference additionalExternalLink for the specified qualifier attribute value.

Specified by:
getAdditionalExternalLink in interface CrxObject
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addAdditionalExternalLink

public void addAdditionalExternalLink(boolean idIsPersistent,
                                      String id,
                                      AdditionalExternalLink additionalExternalLink)
Adds the specified element to the set of the values for the reference additionalExternalLink.

Note: This is an extension to the JMI 1 standard.

Specified by:
addAdditionalExternalLink in interface CrxObject
Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
additionalExternalLink - The element to be appended.

getPriority

public short getPriority()
Retrieves the value for the attribute priority.

Specified by:
getPriority in interface Activity
Returns:
The non-null value for attribute priority.

setPriority

public void setPriority(short priority)
Sets a new value for the attribute priority.

Specified by:
setPriority in interface Activity
Parameters:
priority - The non-null new value for attribute priority.

getDescription

public final String getDescription()
Retrieves the possibly null value for the optional attribute description.

Specified by:
getDescription in interface Activity
Returns:
The possibly null value for attribute description.

setDescription

public void setDescription(String description)
Sets a new value for the attribute description.

Specified by:
setDescription in interface Activity
Parameters:
description - The possibly null new value for attribute description.

reapplyActivityCreator

public org.openmdx.base.cci2.Void reapplyActivityCreator(ActivityCreator activityCreator)
Specified by:
reapplyActivityCreator in interface Activity

voteForActivity

public org.openmdx.base.cci2.Void voteForActivity(String description,
                                                  String name)
Specified by:
voteForActivity in interface Activity

getDueBy

public final Date getDueBy()
Retrieves the possibly null value for the optional attribute dueBy.

Specified by:
getDueBy in interface Activity
Returns:
The possibly null value for attribute dueBy.

setDueBy

public void setDueBy(Date dueBy)
Sets a new value for the attribute dueBy.

Specified by:
setDueBy in interface Activity
Parameters:
dueBy - The possibly null new value for attribute dueBy.

getActualEffortHours

public final Integer getActualEffortHours()
Retrieves the possibly null value for the optional attribute actualEffortHours.

Specified by:
getActualEffortHours in interface Activity
Returns:
The possibly null value for attribute actualEffortHours.

getContract

public <T extends AbstractContract> List<T> getContract()
Retrieves the Collection of objects referenced by contract.

Specified by:
getContract in interface Activity
Returns:
The Collection of referenced objects.

getMainEstimateEffortHours

public final Integer getMainEstimateEffortHours()
Retrieves the possibly null value for the optional attribute mainEstimateEffortHours.

Specified by:
getMainEstimateEffortHours in interface Activity
Returns:
The possibly null value for attribute mainEstimateEffortHours.

removeOwningGroup

public ModifySecureObjectResult removeOwningGroup(PrincipalGroup group,
                                                  short mode)
Specified by:
removeOwningGroup in interface SecureObject

importItem

public ImportResult importItem(byte[] item,
                               String itemMimeType,
                               String itemName,
                               short locale)
Specified by:
importItem in interface Importer

getUserNumber4

public final List<BigDecimal> getUserNumber4()
Retrieves a list containing all the elements for the attribute userNumber4.

Specified by:
getUserNumber4 in interface CrxObject
Returns:
A list containing all elements for this attribute.

setUserNumber4

public void setUserNumber4(BigDecimal... userNumber4)
Clears userNumber4 and adds the given value(s).

This method is equivalent to

   list.clear();
   for(java.math.BigDecimal e : attributeName){
     list.add(e);
   }
 

Specified by:
setUserNumber4 in interface CrxObject
Parameters:
userNumber4 - value(s) to be added to userNumber4

getAccessGrantedByParent

public org.openmdx.base.cci2.BasicObject getAccessGrantedByParent()
Retrieves the value for the reference accessGrantedByParent.

Specified by:
getAccessGrantedByParent in interface SecureObject
Returns:
The – possibly null – value for this reference.

getOwner

public final List<String> getOwner()
Retrieves a list containing all the elements for the attribute owner.

Specified by:
getOwner in interface SecureObject
Returns:
A list containing all elements for this attribute.

getOriginalScheduledEnd

public final Date getOriginalScheduledEnd()
Retrieves the possibly null value for the optional attribute originalScheduledEnd.

Specified by:
getOriginalScheduledEnd in interface Activity
Returns:
The possibly null value for attribute originalScheduledEnd.

setOriginalScheduledEnd

public void setOriginalScheduledEnd(Date originalScheduledEnd)
Sets a new value for the attribute originalScheduledEnd.

Specified by:
setOriginalScheduledEnd in interface Activity
Parameters:
originalScheduledEnd - The possibly null new value for attribute originalScheduledEnd.

getProductReference

public <T extends ProductReference> Collection<T> getProductReference()
Retrieves a set containing all the elements for the reference productReference.

Specified by:
getProductReference in interface Activity
Returns:
A set containing all the elements for this reference.

getProductReference

public ProductReference getProductReference(boolean idIsPersistent,
                                            String id)
Retrieves the value for the reference productReference for the specified qualifier attribute value.

Specified by:
getProductReference in interface Activity
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addProductReference

public void addProductReference(boolean idIsPersistent,
                                String id,
                                ProductReference productReference)
Adds the specified element to the set of the values for the reference productReference.

Note: This is an extension to the JMI 1 standard.

Specified by:
addProductReference in interface Activity
Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
productReference - The element to be appended.

getMedia

public <T extends Media> Collection<T> getMedia()
Retrieves a set containing all the elements for the reference media.

Specified by:
getMedia in interface CrxObject
Returns:
A set containing all the elements for this reference.

getMedia

public Media getMedia(boolean idIsPersistent,
                      String id)
Retrieves the value for the reference media for the specified qualifier attribute value.

Specified by:
getMedia in interface CrxObject
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addMedia

public void addMedia(boolean idIsPersistent,
                     String id,
                     Media media)
Adds the specified element to the set of the values for the reference media.

Note: This is an extension to the JMI 1 standard.

Specified by:
addMedia in interface CrxObject
Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
media - The element to be appended.

getModifiedAt

public Date getModifiedAt()
Retrieves the value for the attribute modifiedAt.

Specified by:
getModifiedAt in interface org.openmdx.base.cci2.BasicObject
Returns:
The non-null value for attribute modifiedAt.

addWorkRecordByDuration

public AddWorkRecordResult addWorkRecordByDuration(short depotSelector,
                                                   String description,
                                                   short durationHours,
                                                   short durationMinutes,
                                                   Date endAt,
                                                   String name,
                                                   short rateType,
                                                   Resource resource,
                                                   Date startAt)
Specified by:
addWorkRecordByDuration in interface Activity

getAssignedGroup

public <T extends ActivityGroupAssignment> Collection<T> getAssignedGroup()
Retrieves a set containing all the elements for the reference assignedGroup.

Specified by:
getAssignedGroup in interface Activity
Returns:
A set containing all the elements for this reference.

getAssignedGroup

public ActivityGroupAssignment getAssignedGroup(boolean idIsPersistent,
                                                String id)
Retrieves the value for the reference assignedGroup for the specified qualifier attribute value.

Specified by:
getAssignedGroup in interface Activity
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addAssignedGroup

public void addAssignedGroup(boolean idIsPersistent,
                             String id,
                             ActivityGroupAssignment assignedGroup)
Adds the specified element to the set of the values for the reference assignedGroup.

Note: This is an extension to the JMI 1 standard.

Specified by:
addAssignedGroup in interface Activity
Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
assignedGroup - The element to be appended.

getPropertySet

public <T extends PropertySet> Collection<T> getPropertySet()
Retrieves a set containing all the elements for the reference propertySet.

Specified by:
getPropertySet in interface CrxObject
Returns:
A set containing all the elements for this reference.

getPropertySet

public PropertySet getPropertySet(boolean idIsPersistent,
                                  String id)
Retrieves the value for the reference propertySet for the specified qualifier attribute value.

Specified by:
getPropertySet in interface CrxObject
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addPropertySet

public void addPropertySet(boolean idIsPersistent,
                           String id,
                           PropertySet propertySet)
Adds the specified element to the set of the values for the reference propertySet.

Note: This is an extension to the JMI 1 standard.

Specified by:
addPropertySet in interface CrxObject
Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
propertySet - The element to be appended.

doFollowUp

public ActivityDoFollowUpResult doFollowUp(Contact assignTo,
                                           String followUpText,
                                           String followUpTitle,
                                           ActivityProcessTransition transition)
Specified by:
doFollowUp in interface Activity

getUserNumber2

public final BigDecimal getUserNumber2()
Retrieves the possibly null value for the optional attribute userNumber2.

Specified by:
getUserNumber2 in interface CrxObject
Returns:
The possibly null value for attribute userNumber2.

setUserNumber2

public void setUserNumber2(BigDecimal userNumber2)
Sets a new value for the attribute userNumber2.

Specified by:
setUserNumber2 in interface CrxObject
Parameters:
userNumber2 - The possibly null new value for attribute userNumber2.

updateIcal

public org.openmdx.base.cci2.Void updateIcal()
Specified by:
updateIcal in interface Activity

getUserNumber3

public final BigDecimal getUserNumber3()
Retrieves the possibly null value for the optional attribute userNumber3.

Specified by:
getUserNumber3 in interface CrxObject
Returns:
The possibly null value for attribute userNumber3.

setUserNumber3

public void setUserNumber3(BigDecimal userNumber3)
Sets a new value for the attribute userNumber3.

Specified by:
setUserNumber3 in interface CrxObject
Parameters:
userNumber3 - The possibly null new value for attribute userNumber3.

getUserNumber0

public final BigDecimal getUserNumber0()
Retrieves the possibly null value for the optional attribute userNumber0.

Specified by:
getUserNumber0 in interface CrxObject
Returns:
The possibly null value for attribute userNumber0.

setUserNumber0

public void setUserNumber0(BigDecimal userNumber0)
Sets a new value for the attribute userNumber0.

Specified by:
setUserNumber0 in interface CrxObject
Parameters:
userNumber0 - The possibly null new value for attribute userNumber0.

getName

public String getName()
Retrieves the value for the attribute name.

Specified by:
getName in interface Activity
Returns:
The non-null value for attribute name.

setName

public void setName(String name)
Sets a new value for the attribute name.

Specified by:
setName in interface Activity
Parameters:
name - The non-null new value for attribute name.

getUserNumber1

public final BigDecimal getUserNumber1()
Retrieves the possibly null value for the optional attribute userNumber1.

Specified by:
getUserNumber1 in interface CrxObject
Returns:
The possibly null value for attribute userNumber1.

setUserNumber1

public void setUserNumber1(BigDecimal userNumber1)
Sets a new value for the attribute userNumber1.

Specified by:
setUserNumber1 in interface CrxObject
Parameters:
userNumber1 - The possibly null new value for attribute userNumber1.

getActivityNumber

public final String getActivityNumber()
Retrieves the possibly null value for the optional attribute activityNumber.

Specified by:
getActivityNumber in interface Activity
Returns:
The possibly null value for attribute activityNumber.

setActivityNumber

public void setActivityNumber(String activityNumber)
Sets a new value for the attribute activityNumber.

Specified by:
setActivityNumber in interface Activity
Parameters:
activityNumber - The possibly null new value for attribute activityNumber.

getActualStart

public final Date getActualStart()
Retrieves the possibly null value for the optional attribute actualStart.

Specified by:
getActualStart in interface Activity
Returns:
The possibly null value for attribute actualStart.

setActualStart

public void setActualStart(Date actualStart)
Sets a new value for the attribute actualStart.

Specified by:
setActualStart in interface Activity
Parameters:
actualStart - The possibly null new value for attribute actualStart.

isAllDayEvent

public final Boolean isAllDayEvent()
Retrieves the possibly null value for the optional attribute isAllDayEvent.

Specified by:
isAllDayEvent in interface Activity
Returns:
The possibly null value for attribute isAllDayEvent.

setAllDayEvent

public void setAllDayEvent(Boolean isAllDayEvent)
Sets a new value for the attribute isAllDayEvent.

Specified by:
setAllDayEvent in interface Activity
Parameters:
isAllDayEvent - The possibly null new value for attribute isAllDayEvent.

getAudit

public <T extends AuditEntry> Collection<T> getAudit()
Retrieves a set containing all the elements for the reference audit.

Specified by:
getAudit in interface Auditee
Returns:
A set containing all the elements for this reference.

getAudit

public AuditEntry getAudit(boolean idIsPersistent,
                           String id)
Retrieves the value for the reference audit for the specified qualifier attribute value.

Specified by:
getAudit in interface Auditee
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

checkPermissions

public CheckPermissionsResult checkPermissions(String principalName)
Specified by:
checkPermissions in interface SecureObject

getAttachedDocument

public <T extends DocumentAttachment> Collection<T> getAttachedDocument()
Retrieves a set containing all the elements for the reference attachedDocument.

Specified by:
getAttachedDocument in interface CrxObject
Returns:
A set containing all the elements for this reference.

getAttachedDocument

public DocumentAttachment getAttachedDocument(boolean idIsPersistent,
                                              String id)
Retrieves the value for the reference attachedDocument for the specified qualifier attribute value.

Specified by:
getAttachedDocument in interface CrxObject
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addAttachedDocument

public void addAttachedDocument(boolean idIsPersistent,
                                String id,
                                DocumentAttachment attachedDocument)
Adds the specified element to the set of the values for the reference attachedDocument.

Note: This is an extension to the JMI 1 standard.

Specified by:
addAttachedDocument in interface CrxObject
Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
attachedDocument - The element to be appended.

getFollowUp

public <T extends ActivityFollowUp> Collection<T> getFollowUp()
Retrieves a set containing all the elements for the reference followUp.

Specified by:
getFollowUp in interface Activity
Returns:
A set containing all the elements for this reference.

getFollowUp

public ActivityFollowUp getFollowUp(boolean idIsPersistent,
                                    String id)
Retrieves the value for the reference followUp for the specified qualifier attribute value.

Specified by:
getFollowUp in interface Activity
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addFollowUp

public void addFollowUp(boolean idIsPersistent,
                        String id,
                        ActivityFollowUp followUp)
Adds the specified element to the set of the values for the reference followUp.

Note: This is an extension to the JMI 1 standard.

Specified by:
addFollowUp in interface Activity
Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
followUp - The element to be appended.

getAccessLevelUpdate

public short getAccessLevelUpdate()
Retrieves the value for the attribute accessLevelUpdate.

Specified by:
getAccessLevelUpdate in interface SecureObject
Returns:
The non-null value for attribute accessLevelUpdate.

setAccessLevelUpdate

public void setAccessLevelUpdate(short accessLevelUpdate)
Sets a new value for the attribute accessLevelUpdate.

Specified by:
setAccessLevelUpdate in interface SecureObject
Parameters:
accessLevelUpdate - The non-null new value for attribute accessLevelUpdate.

getUserCode4

public final List<Short> getUserCode4()
Retrieves a list containing all the elements for the attribute userCode4.

Specified by:
getUserCode4 in interface CrxObject
Returns:
A list containing all elements for this attribute.

setUserCode4

public void setUserCode4(short... userCode4)
Clears userCode4 and adds the given value(s).

This method is equivalent to

   list.clear();
   for(short e : attributeName){
     list.add(e);
   }
 

Specified by:
setUserCode4 in interface CrxObject
Parameters:
userCode4 - value(s) to be added to userCode4

getReportingAccount

public Account getReportingAccount()
Retrieves the value for the reference reportingAccount.

Specified by:
getReportingAccount in interface Activity
Returns:
The – possibly null – value for this reference.

setReportingAccount

public void setReportingAccount(Account reportingAccount)
Sets a new value for the reference reportingAccount.

Specified by:
setReportingAccount in interface Activity
Parameters:
reportingAccount - The non-null new value for this reference.

getRating

public <T extends Rating> Collection<T> getRating()
Retrieves a set containing all the elements for the reference rating.

Specified by:
getRating in interface CrxObject
Returns:
A set containing all the elements for this reference.

getRating

public Rating getRating(boolean idIsPersistent,
                        String id)
Retrieves the value for the reference rating for the specified qualifier attribute value.

Specified by:
getRating in interface CrxObject
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addRating

public void addRating(boolean idIsPersistent,
                      String id,
                      Rating rating)
Adds the specified element to the set of the values for the reference rating.

Note: This is an extension to the JMI 1 standard.

Specified by:
addRating in interface CrxObject
Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
rating - The element to be appended.

getUserCode1

public final Short getUserCode1()
Retrieves the possibly null value for the optional attribute userCode1.

Specified by:
getUserCode1 in interface CrxObject
Returns:
The possibly null value for attribute userCode1.

setUserCode1

public void setUserCode1(Short userCode1)
Sets a new value for the attribute userCode1.

Specified by:
setUserCode1 in interface CrxObject
Parameters:
userCode1 - The possibly null new value for attribute userCode1.

getLastTransition

public ActivityProcessTransition getLastTransition()
Retrieves the value for the reference lastTransition.

Specified by:
getLastTransition in interface Activity
Returns:
The – possibly null – value for this reference.

getUserCode0

public final Short getUserCode0()
Retrieves the possibly null value for the optional attribute userCode0.

Specified by:
getUserCode0 in interface CrxObject
Returns:
The possibly null value for attribute userCode0.

setUserCode0

public void setUserCode0(Short userCode0)
Sets a new value for the attribute userCode0.

Specified by:
setUserCode0 in interface CrxObject
Parameters:
userCode0 - The possibly null new value for attribute userCode0.

isDisabled

public final Boolean isDisabled()
Retrieves the possibly null value for the optional attribute disabled.

Specified by:
isDisabled in interface CrxObject
Returns:
The possibly null value for attribute disabled.

setDisabled

public void setDisabled(Boolean disabled)
Sets a new value for the attribute disabled.

Specified by:
setDisabled in interface CrxObject
Parameters:
disabled - The possibly null new value for attribute disabled.

getUserCode3

public final Short getUserCode3()
Retrieves the possibly null value for the optional attribute userCode3.

Specified by:
getUserCode3 in interface CrxObject
Returns:
The possibly null value for attribute userCode3.

setUserCode3

public void setUserCode3(Short userCode3)
Sets a new value for the attribute userCode3.

Specified by:
setUserCode3 in interface CrxObject
Parameters:
userCode3 - The possibly null new value for attribute userCode3.

getUserCode2

public final Short getUserCode2()
Retrieves the possibly null value for the optional attribute userCode2.

Specified by:
getUserCode2 in interface CrxObject
Returns:
The possibly null value for attribute userCode2.

setUserCode2

public void setUserCode2(Short userCode2)
Sets a new value for the attribute userCode2.

Specified by:
setUserCode2 in interface CrxObject
Parameters:
userCode2 - The possibly null new value for attribute userCode2.

sendAlert

public org.openmdx.base.cci2.Void sendAlert(String description,
                                            short importance,
                                            String name,
                                            org.openmdx.base.cci2.BasicObject reference,
                                            Integer resendDelayInSeconds,
                                            String toUsers)
Specified by:
sendAlert in interface AlertSender

openmdxjdoGetSize

protected int openmdxjdoGetSize(int field)
Overrides:
openmdxjdoGetSize in class org.w3c.jdo2.AbstractObject

openmdxjdoSetSize

protected void openmdxjdoSetSize(int field,
                                 int size)
Overrides:
openmdxjdoSetSize in class org.w3c.jdo2.AbstractObject

newSlice

protected org.w3c.jdo2.AbstractObject.Slice newSlice(int index)

openmdxjdoGetClass

protected List<String> openmdxjdoGetClass()
Retrieve the model class

Returns:
the model class
See Also:
Activity.CLASS

addToSegment

public void addToSegment(Segment segment)
Sets a new value for the reference segment.

Parameters:
segment - The non-null new value for this reference.

openmdxjdoGetObjectsByParent

public static CloseableCollection<Activity> openmdxjdoGetObjectsByParent(Segment segment)
Navigate through an object's composite association


addToSegment

public void addToSegment(Segment segment,
                         boolean idIsPersistent,
                         String id)
Set the object's composite association org:opencrx:kernel:activity1:SegmentContainsActivity.

Parameters:
segment - The non-null new value for this object's composite owner.
idIsPersistent - Defines whether the id is persistent.
id - The non-null new value for this object's qualifier.

newIdentity

public static Activity.Identity newIdentity(org.openmdx.base.cci2.Segment.Identity segment,
                                            boolean idIsPersistent,
                                            String id)

openmdxjdoToIdentity

public static Activity.Identity openmdxjdoToIdentity(org.oasisopen.spi2.ObjectId objectId)


This software is published under the BSD license. Copyright © 2003-2008, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.