|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface AssociationProperty
The SAS Metadata Model provides a Prototype metadata type to define templates that can be used to create metadata entities. The AssociationProperty metadata type is used with other prototype objects to define the associations that are needed in a given scenario.
Attributes of AssociationProperty are:
Associations of AssociationProperty are:
factory
create methods. // create a store to contain your objects for this change. If you do not have an existing object // or store to use. You may obtain the store from another object by using Object.getObjectStore(). MdFactory factory; //where "factory" is a valid MdFactory instance MdObjectStore objectStore = factory.createObjectStore(); AssociationProperty myObject = (AssociationProperty) factory.createComplexMetadataObject(objectStore, "AssociationProperty_Object", MetadataObjects.ASSOCIATIONPROPERTY, "AAAAAAAA"); myObject.updateMetadataAll(); // Write object to server objectStore.dispose(); // dispose of the object store if it is no longer needed
MdOMIUtil.
updateMetadataAll
method.
delete method can be used.
This will flag the object as being deleted on the client, and will require an update call to persist
the change to the server.
| Field Summary | |
|---|---|
static java.lang.String |
ASSOCIATION_ASSOCIATEDPROTOTYPES_NAME
Constant used for the name of the AssociatedPrototypes association. |
static java.lang.String |
ATTRIBUTE_ASSOCIATIONNAME_NAME
Constant used for the name of the AssociationName attribute. |
static java.lang.String |
ATTRIBUTE_MAXIMUM_NAME
Constant used for the name of the Maximum attribute. |
static java.lang.String |
ATTRIBUTE_METADATATYPE_NAME
Constant used for the name of the MetadataType attribute. |
static java.lang.String |
ATTRIBUTE_MINIMUM_NAME
Constant used for the name of the Minimum attribute. |
static java.lang.String |
ATTRIBUTE_PARTNERNAME_NAME
Constant used for the name of the PartnerName attribute. |
| Fields inherited from interface com.sas.metadata.remote.PrototypeProperty |
|---|
ASSOCIATION_OWNINGPROTOTYPE_NAME |
| Fields inherited from interface com.sas.metadata.remote.AbstractProperty |
|---|
ASSOCIATION_ASSOCIATEDPROPERTYGROUP_NAME, ASSOCIATION_CUSTOMIZERS_NAME, ASSOCIATION_EDITORS_NAME, ASSOCIATION_STOREDCONFIGURATION_NAME, ASSOCIATION_VALIDATORS_NAME, ATTRIBUTE_ISEXPERT_NAME, ATTRIBUTE_ISLINKED_NAME, ATTRIBUTE_ISREQUIRED_NAME, ATTRIBUTE_ISUPDATEABLE_NAME, ATTRIBUTE_ISVISIBLE_NAME |
| Fields inherited from interface com.sas.metadata.remote.LocalizedType |
|---|
ASSOCIATION_RESOURCES_NAME |
| Fields inherited from interface com.sas.metadata.remote.MdObjectBase |
|---|
ATTRIBUTE_DESC_NAME, ATTRIBUTE_ID_NAME, ATTRIBUTE_METADATACREATED_NAME, ATTRIBUTE_METADATAUPDATED_NAME, ATTRIBUTE_NAME_NAME |
| Method Summary | |
|---|---|
abstract AssociationList |
getAssociatedPrototypes()
Gets the Association list of AssociatedPrototypes |
abstract AssociationList |
getAssociatedPrototypes(boolean fGoToServer)
Gets the Associationlist of AssociatedPrototypes |
abstract java.lang.String |
getAssociationName()
Gets the String value of AssociationName |
abstract int |
getAssociationNameMaxLength()
Gets the maximum length of AssociationName |
abstract int |
getAssociationNameState()
Gets the Metadata State of AssociationName |
abstract int |
getMaximum()
Gets the int value of Maximum |
abstract int |
getMaximumState()
Gets the Metadata State of Maximum |
abstract java.lang.String |
getMetadataType()
Gets the String value of MetadataType |
abstract int |
getMetadataTypeMaxLength()
Gets the maximum length of MetadataType |
abstract int |
getMetadataTypeState()
Gets the Metadata State of MetadataType |
abstract int |
getMinimum()
Gets the int value of Minimum |
abstract int |
getMinimumState()
Gets the Metadata State of Minimum |
abstract java.lang.String |
getPartnerName()
Gets the String value of PartnerName |
abstract int |
getPartnerNameMaxLength()
Gets the maximum length of PartnerName |
abstract int |
getPartnerNameState()
Gets the Metadata State of PartnerName |
abstract void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: |
abstract void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
abstract void |
setAssociatedPrototypes(AssociationList list)
Sets the AssociatedPrototypes list to be list. |
abstract void |
setAssociatedPrototypes(AssociationList inObjects,
int state)
Sets the entire AssociatedPrototypes list to match the passed in AssociationList, sets the state of the AssociatedPrototypes |
abstract void |
setAssociationName(java.lang.String inAssociationName)
Sets the AssociationName value and sets the state to MetadataState.LOCAL. |
abstract void |
setAssociationName(java.lang.String inAssociationName,
int state)
Sets the AssociationName Metadata State. |
abstract void |
setAssociationNameState(int state)
Sets the Metadata State of AssociationName. |
abstract void |
setMaximum(int inMaximum)
Sets the Maximum value and sets the state to MetadataState.LOCAL. |
abstract void |
setMaximum(int inMaximum,
int state)
Sets the Maximum Metadata State. |
abstract void |
setMaximum(java.lang.String inMaximum)
Sets the Maximum value and sets the state to MetadataState.LOCAL. |
abstract void |
setMaximum(java.lang.String inMaximum,
int state)
Sets the Maximum value and Metadata State. |
abstract void |
setMaximumState(int state)
Sets the Metadata State of Maximum. |
abstract void |
setMetadataType(java.lang.String inMetadataType)
Sets the MetadataType value and sets the state to MetadataState.LOCAL. |
abstract void |
setMetadataType(java.lang.String inMetadataType,
int state)
Sets the MetadataType Metadata State. |
abstract void |
setMetadataTypeState(int state)
Sets the Metadata State of MetadataType. |
abstract void |
setMinimum(int inMinimum)
Sets the Minimum value and sets the state to MetadataState.LOCAL. |
abstract void |
setMinimum(int inMinimum,
int state)
Sets the Minimum Metadata State. |
abstract void |
setMinimum(java.lang.String inMinimum)
Sets the Minimum value and sets the state to MetadataState.LOCAL. |
abstract void |
setMinimum(java.lang.String inMinimum,
int state)
Sets the Minimum value and Metadata State. |
abstract void |
setMinimumState(int state)
Sets the Metadata State of Minimum. |
abstract void |
setPartnerName(java.lang.String inPartnerName)
Sets the PartnerName value and sets the state to MetadataState.LOCAL. |
abstract void |
setPartnerName(java.lang.String inPartnerName,
int state)
Sets the PartnerName Metadata State. |
abstract void |
setPartnerNameState(int state)
Sets the Metadata State of PartnerName. |
| Methods inherited from interface com.sas.metadata.remote.PrototypeProperty |
|---|
getOwningPrototype, getOwningPrototypes, getOwningPrototypes, setOwningPrototype, setOwningPrototypes, setOwningPrototypes |
| Methods inherited from interface com.sas.metadata.remote.LocalizedType |
|---|
getResources, getResources, setResources, setResources |
| Methods inherited from interface com.sas.metadata.remote.MdObjectBaseXML |
|---|
closeUpdateMetadataXML, createEmptyXML, createObjectRefreshXML, createObjectXML, createObjectXML, createUpdateAssociationXML, createUpdateAssociationXML, createUpdateSimpleXML, doCreateUpdateXML, getUpdateSimpleSubstring, updateMetadataAll |
| Field Detail |
|---|
static final java.lang.String ATTRIBUTE_METADATATYPE_NAME
MetadataType: The type that can be associated using this association name.
static final java.lang.String ATTRIBUTE_ASSOCIATIONNAME_NAME
AssociationName: The name of this association
static final java.lang.String ATTRIBUTE_PARTNERNAME_NAME
PartnerName: The name the partner uses for this association
static final java.lang.String ATTRIBUTE_MINIMUM_NAME
Minimum: The minimum number of associated objects.
static final java.lang.String ATTRIBUTE_MAXIMUM_NAME
Maximum: The maximum number of associated objects.
static final java.lang.String ASSOCIATION_ASSOCIATEDPROTOTYPES_NAME
AssociatedPrototypes: The prototype objects used as partners with this association object.
| Method Detail |
|---|
void initializeRequiredObjects()
throws java.rmi.RemoteException
initializeRequiredObjects in interface AbstractPropertyinitializeRequiredObjects in interface LocalizedTypeinitializeRequiredObjects in interface MdObjectBaseUtilinitializeRequiredObjects in interface PrototypePropertyinitializeRequiredObjects in interface RootinitializeRequiredObjects in interface SecondaryTypejava.rmi.RemoteException - If error connecting/communicating to/with remote object.
void initializePredObjects()
throws java.rmi.RemoteException
initializePredObjects in interface AbstractPropertyinitializePredObjects in interface LocalizedTypeinitializePredObjects in interface MdObjectBaseinitializePredObjects in interface PrototypePropertyinitializePredObjects in interface RootinitializePredObjects in interface SecondaryTypejava.rmi.RemoteException - If error connecting/communicating to/with remote object.
java.lang.String getMetadataType()
throws java.rmi.RemoteException
String value of MetadataType
MetadataType
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getMetadataTypeState()
throws java.rmi.RemoteException
MetadataType
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getMetadataTypeMaxLength()
throws java.rmi.RemoteException
MetadataType
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
java.lang.String getAssociationName()
throws java.rmi.RemoteException
String value of AssociationName
AssociationName
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getAssociationNameState()
throws java.rmi.RemoteException
AssociationName
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getAssociationNameMaxLength()
throws java.rmi.RemoteException
AssociationName
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
java.lang.String getPartnerName()
throws java.rmi.RemoteException
String value of PartnerName
PartnerName
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getPartnerNameState()
throws java.rmi.RemoteException
PartnerName
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getPartnerNameMaxLength()
throws java.rmi.RemoteException
PartnerName
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getMinimum()
throws java.rmi.RemoteException
int value of Minimum
Minimum
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getMinimumState()
throws java.rmi.RemoteException
Minimum
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getMaximum()
throws java.rmi.RemoteException
int value of Maximum
Maximum
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getMaximumState()
throws java.rmi.RemoteException
Maximum
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
AssociationList getAssociatedPrototypes()
throws java.rmi.RemoteException,
MdException
AssociatedPrototypes
AssociatedPrototypes which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getAssociatedPrototypes(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
AssociatedPrototypes
fGoToServer - boolean Get the value from the server.
AssociatedPrototypes which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
void setMetadataType(java.lang.String inMetadataType)
throws java.rmi.RemoteException
MetadataType value and sets the state to MetadataState.LOCAL.
inMetadataType - String
java.rmi.RemoteException - If error communicating with remote object.
void setMetadataType(java.lang.String inMetadataType,
int state)
throws java.rmi.RemoteException
MetadataType Metadata State.
inMetadataType - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setMetadataTypeState(int state)
throws java.rmi.RemoteException
MetadataType.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setAssociationName(java.lang.String inAssociationName)
throws java.rmi.RemoteException
AssociationName value and sets the state to MetadataState.LOCAL.
inAssociationName - String
java.rmi.RemoteException - If error communicating with remote object.
void setAssociationName(java.lang.String inAssociationName,
int state)
throws java.rmi.RemoteException
AssociationName Metadata State.
inAssociationName - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setAssociationNameState(int state)
throws java.rmi.RemoteException
AssociationName.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setPartnerName(java.lang.String inPartnerName)
throws java.rmi.RemoteException
PartnerName value and sets the state to MetadataState.LOCAL.
inPartnerName - String
java.rmi.RemoteException - If error communicating with remote object.
void setPartnerName(java.lang.String inPartnerName,
int state)
throws java.rmi.RemoteException
PartnerName Metadata State.
inPartnerName - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setPartnerNameState(int state)
throws java.rmi.RemoteException
PartnerName.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setMinimum(int inMinimum)
throws java.rmi.RemoteException
Minimum value and sets the state to MetadataState.LOCAL.
inMinimum - int
java.rmi.RemoteException - If error communicating with remote object.
void setMinimum(int inMinimum,
int state)
throws java.rmi.RemoteException
Minimum Metadata State.
inMinimum - intstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setMinimum(java.lang.String inMinimum)
throws java.rmi.RemoteException
Minimum value and sets the state to MetadataState.LOCAL.
inMinimum - String
java.rmi.RemoteException - If error communicating with remote object.
void setMinimum(java.lang.String inMinimum,
int state)
throws java.rmi.RemoteException
Minimum value and Metadata State.
inMinimum - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setMinimumState(int state)
throws java.rmi.RemoteException
Minimum.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setMaximum(int inMaximum)
throws java.rmi.RemoteException
Maximum value and sets the state to MetadataState.LOCAL.
inMaximum - int
java.rmi.RemoteException - If error communicating with remote object.
void setMaximum(int inMaximum,
int state)
throws java.rmi.RemoteException
Maximum Metadata State.
inMaximum - intstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setMaximum(java.lang.String inMaximum)
throws java.rmi.RemoteException
Maximum value and sets the state to MetadataState.LOCAL.
inMaximum - String
java.rmi.RemoteException - If error communicating with remote object.
void setMaximum(java.lang.String inMaximum,
int state)
throws java.rmi.RemoteException
Maximum value and Metadata State.
inMaximum - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setMaximumState(int state)
throws java.rmi.RemoteException
Maximum.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setAssociatedPrototypes(AssociationList list)
throws java.rmi.RemoteException
AssociatedPrototypes list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setAssociatedPrototypes(AssociationList inObjects,
int state)
throws java.rmi.RemoteException
inObjects - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||