Package wt.doc
Class WTDocumentMaster
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.enterprise._Master
wt.enterprise.Master
wt.doc._WTDocumentMaster
wt.doc.WTDocumentMaster
- All Implemented Interfaces:
Externalizable,Serializable,wt.doc._Document,wt.doc._DocumentMaster,Document,DocumentMaster,wt.fc._Identified,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,wt.fc._UniquelyIdentified,wt.fc.BusinessInformation,Identified,NetFactor,ObjectMappable,Persistable,UniquelyIdentified,wt.federation._FederatedLinkHolder,wt.federation._RemotelyLinkable,wt.federation.FederatedLinkHolder,wt.federation.RemotelyLinkable,wt.iba.value._IBAHolder,wt.iba.value.IBAHolder,DisplayIdentification,wt.inf.container._WTContained,wt.inf.container._WTContainedIdentified,WTContained,WTContainedIdentified,_OrganizationOwned,_OrganizationOwnedImpl,wt.org._OrganizationOwnedMaster,wt.org.electronicIdentity._ElectronicallySignable,wt.org.electronicIdentity.ElectronicallySignable,OrganizationOwned,OrganizationOwnedImpl,OrganizationOwnedMaster,wt.projmgmt.deliverable._MasteredSubjectOfDeliverable,wt.projmgmt.deliverable._SubjectOfDeliverable,wt.projmgmt.deliverable.MasteredSubjectOfDeliverable,wt.projmgmt.deliverable.SubjectOfDeliverable,wt.recent.RecentlyVisited,wt.representation._RepresentableMaster,wt.representation._RepresentablesAndMasters,wt.representation.RepresentableMaster,wt.representation.RepresentablesAndMasters,wt.type._TypeManaged,wt.type.TypeManaged,wt.ufid._Federatable,wt.ufid.Federatable,wt.vc._Mastered,Mastered
- Direct Known Subclasses:
_ProxyDocumentMaster
@GenAsPersistable(superClass=Master.class,interfaces={DocumentMaster.class,UniquelyIdentified.class,wt.ufid.Federatable.class,wt.iba.value.IBAHolder.class,WTContained.class,OrganizationOwnedMaster.class,WTContainedIdentified.class,wt.representation.RepresentableMaster.class,wt.type.TypeManaged.class,wt.projmgmt.deliverable.MasteredSubjectOfDeliverable.class},extendable=true,versions=7853172521825613364L,properties={@GeneratedProperty(name="name",type=java.lang.String.class,supportedAPI=PUBLIC,javaDoc="A string representing the name of a document.",constraints=@PropertyConstraints(changeable=VIA_OTHER_MEANS,upperLimit=160,required=true)),@GeneratedProperty(name="number",type=java.lang.String.class,supportedAPI=PUBLIC,javaDoc="A string representing the number of a document.",constraints=@PropertyConstraints(stringCase=UPPER_CASE,changeable=VIA_OTHER_MEANS,upperLimit=32,required=true),columnProperties=@ColumnProperties(index=true,columnName="WTDocumentNumber")),@GeneratedProperty(name="docType",type=DocumentType.class,supportedAPI=PUBLIC,constraints=@PropertyConstraints(changeable=VIA_OTHER_MEANS,required=true))},tableProperties=@TableProperties(compositeIndex1="+UPPER(name)",compositeIndex2="+ name",compositeIndex3="+ REVERSE(WTDocumentNumber)",compositeIndex4="+ REVERSE(UPPER(name))",oracleTableSize=HUGE),iconProperties=@IconProperties(standardIcon="wt/clients/images/dmaster.gif",openIcon="wt/clients/images/dmaster.gif"))
public class WTDocumentMaster
extends _WTDocumentMaster
Reference implementation of DocumentMaster. Attributes defined on this
object have the same value across all versions and iterations. In this
case, all document versions have the same name and number. The document
number must be unique amongst all WTDocuments.
A WTDocumentMaster holds a type attribute based on the
DocumentType
enumeration. The type is constant for all versions.
Use the newWTDocumentMaster static factory method(s), not
the WTDocumentMaster 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: true
- See Also:
-
Field Summary
Fields inherited from class wt.doc._WTDocumentMaster
DOC_TYPE, NAME, NUMBERFields inherited from interface wt.org._OrganizationOwned
ORGANIZATION_CODING_SYSTEM, ORGANIZATION_NAME, ORGANIZATION_UNIQUE_IDENTIFIERFields inherited from interface wt.org._OrganizationOwnedImpl
ORGANIZATION_REFERENCE -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the attribute: ORGANIZATION.Gets the value of the attribute: ORGANIZATION_REFERENCE.Gets the value of the attribute: ORGANIZATION_UNIQUE_IDENTIFIER.voidsetDocType(DocumentType a_DocType) Sets the object for the association that plays role: DOC_TYPE.voidsetOrganization(WTOrganization a_Organization) Sets the value of the attribute: ORGANIZATION.Methods inherited from class wt.doc._WTDocumentMaster
getDocType, getName, getNumber, getOrganizationCodingSystem, getOrganizationName, setName, setNumber, setOrganizationReferenceMethods inherited from class wt.fc.WTObject
getDisplayIdentifier, getDisplayIdentity, getDisplayType
-
Method Details
-
setDocType
Sets the object for the association that plays role: DOC_TYPE.
Supported API: true- Overrides:
setDocTypein class_WTDocumentMaster- Parameters:
a_DocType-- Throws:
WTPropertyVetoException- See Also:
-
getOrganizationReference
Gets the value of the attribute: ORGANIZATION_REFERENCE.
Supported API: true- Specified by:
getOrganizationReferencein interface_OrganizationOwnedImpl- Specified by:
getOrganizationReferencein interfaceOrganizationOwned- Overrides:
getOrganizationReferencein class_WTDocumentMaster- Returns:
- WTPrincipalReference
- See Also:
-
getOrganizationUniqueIdentifier
Gets the value of the attribute: ORGANIZATION_UNIQUE_IDENTIFIER. The getter for this attribute delivers organization unique identifier.
Supported API: true- Specified by:
getOrganizationUniqueIdentifierin interface_OrganizationOwned- Overrides:
getOrganizationUniqueIdentifierin class_WTDocumentMaster- Returns:
- String
- See Also:
-
getOrganization
Gets the value of the attribute: ORGANIZATION.
Supported API: true- Returns:
- WTOrganization
-
setOrganization
Sets the value of the attribute: ORGANIZATION.
Supported API: true- Parameters:
a_Organization-- Throws:
WTPropertyVetoException
-