|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.epm.supportingdata.EPMSupportingData
public final class EPMSupportingData
Applications may save data that is specific to their applications inside
an EPMSupportingData object.They save their data in the data member of
the object.
An EPMSupportingData Holder distinquishes between EPMSupportingData objects
that it holds by their names and the application that they belong to.
Applications must assign a unique name to each EPMSupportingData object
that they add.
For all EPMSupportingData objects that belong to the same EPMSupportingData
Holder, the pair, ownerApplication and name must be unique. A uniqueness
constraint on the database table for EPMSupportingData enforces this
requirement. As a result, the EPMSupportingData class must be made Final.
We chose this approach over the creation of a seperate identification
class in order to prevent the creation of an additional database table
for the identification class.
In order to facilitate future migration, it is recommended that the data object implements Evolvable.
Use the newEPMSupportingData static factory method(s), not
the EPMSupportingData constructor, to construct instances
of this class. Instances must be constructed using the static factory(s),
in order to ensure proper initialization of the instance.
Supported API: true
Extendable: false
| Field Summary | |
|---|---|
static String |
AUTHORING_APP_VERSION
Label for the attribute. |
static String |
AUTHORING_APP_VERSION_REFERENCE
Label for the attribute. |
static String |
AUTHORING_APPLICATION
Label for the attribute; Indicates that the named application authored the object. |
static String |
DESCRIPTION
Label for the attribute; A user-specified description field. |
static String |
OWNER_APPLICATION
Label for the attribute; Indicate that the named application owns the object. |
| Method Summary | |
|---|---|
EPMAuthoringAppType |
getAuthoringApplication()
Gets the value of the attribute: AUTHORING_APPLICATION. |
EPMAuthoringAppVersion |
getAuthoringAppVersion()
Gets the object for the association that plays role: AUTHORING_APP_VERSION. |
wt.epm.EPMAuthAppVersionRef |
getAuthoringAppVersionReference()
Gets the value of the attribute: AUTHORING_APP_VERSION_REFERENCE. |
String |
getDescription()
Gets the value of the attribute: DESCRIPTION. |
EPMApplicationType |
getOwnerApplication()
Gets the value of the attribute: OWNER_APPLICATION. |
protected void |
initialize(String name,
EPMAuthoringAppType authoringApp,
Object data,
EPMSupportingDataHolder holder)
Supports initialization, following construction of an instance. |
static EPMSupportingData |
newEPMSupportingData(String name,
EPMAuthoringAppType authoringApp,
Object data,
EPMSupportingDataHolder holder)
Supported API: true |
void |
setAuthoringApplication(EPMAuthoringAppType a_AuthoringApplication)
Sets the value of the attribute: AUTHORING_APPLICATION. |
void |
setAuthoringAppVersion(EPMAuthoringAppVersion a_AuthoringAppVersion)
Sets the object for the association that plays role: AUTHORING_APP_VERSION. |
void |
setAuthoringAppVersionReference(wt.epm.EPMAuthAppVersionRef a_AuthoringAppVersionReference)
Sets the value of the attribute: AUTHORING_APP_VERSION_REFERENCE. |
void |
setDescription(String a_Description)
Sets the value of the attribute: DESCRIPTION. |
void |
setOwnerApplication(EPMApplicationType a_OwnerApplication)
Sets the value of the attribute: OWNER_APPLICATION. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String DESCRIPTION
public static final String OWNER_APPLICATION
The parameter is an EPMApplicationType, so that any sort of checking
can be done at run-time.
Supported API: true
public static final String AUTHORING_APPLICATION
The parameter is an EPMAuthoringAppType, so that any sort of checking
can be done at run-time.
Supported API: true
public static final String AUTHORING_APP_VERSION
public static final String AUTHORING_APP_VERSION_REFERENCE
| Method Detail |
|---|
public String getDescription()
public void setDescription(String a_Description)
throws WTPropertyVetoException
a_Description -
WTPropertyVetoExceptionpublic EPMApplicationType getOwnerApplication()
The parameter is an EPMApplicationType, so that any sort of checking
can be done at run-time.
Supported API: true
getOwnerApplication in interface EPMObject
public void setOwnerApplication(EPMApplicationType a_OwnerApplication)
throws WTPropertyVetoException
The parameter is an EPMApplicationType, so that any sort of checking
can be done at run-time.
Supported API: true
a_OwnerApplication -
WTPropertyVetoExceptionpublic EPMAuthoringAppType getAuthoringApplication()
The parameter is an EPMAuthoringAppType, so that any sort of checking
can be done at run-time.
Supported API: true
getAuthoringApplication in interface EPMObject
public void setAuthoringApplication(EPMAuthoringAppType a_AuthoringApplication)
throws WTPropertyVetoException
The parameter is an EPMAuthoringAppType, so that any sort of checking
can be done at run-time.
Supported API: true
a_AuthoringApplication -
WTPropertyVetoExceptionpublic EPMAuthoringAppVersion getAuthoringAppVersion()
public void setAuthoringAppVersion(EPMAuthoringAppVersion a_AuthoringAppVersion)
throws WTPropertyVetoException,
WTException
a_AuthoringAppVersion -
WTPropertyVetoException
WTExceptionpublic wt.epm.EPMAuthAppVersionRef getAuthoringAppVersionReference()
public void setAuthoringAppVersionReference(wt.epm.EPMAuthAppVersionRef a_AuthoringAppVersionReference)
throws WTPropertyVetoException
a_AuthoringAppVersionReference -
WTPropertyVetoException
public static EPMSupportingData newEPMSupportingData(String name,
EPMAuthoringAppType authoringApp,
Object data,
EPMSupportingDataHolder holder)
throws WTException
name - authoringApp - data - holder -
WTException
protected void initialize(String name,
EPMAuthoringAppType authoringApp,
Object data,
EPMSupportingDataHolder holder)
throws WTException
name - authoringApp - data - holder -
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||