|
| 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 | |
|---|---|
AssociationList |
getAssociatedPrototypes()
Gets the Association list of AssociatedPrototypes |
AssociationList |
getAssociatedPrototypes(boolean fGoToServer)
Gets the Associationlist of AssociatedPrototypes |
java.lang.String |
getAssociationName()
Gets the String value of AssociationName |
int |
getAssociationNameMaxLength()
Gets the maximum length of AssociationName |
int |
getAssociationNameState()
Gets the Metadata State of AssociationName |
int |
getMaximum()
Gets the int value of Maximum |
int |
getMaximumState()
Gets the Metadata State of Maximum |
java.lang.String |
getMetadataType()
Gets the String value of MetadataType |
int |
getMetadataTypeMaxLength()
Gets the maximum length of MetadataType |
int |
getMetadataTypeState()
Gets the Metadata State of MetadataType |
int |
getMinimum()
Gets the int value of Minimum |
int |
getMinimumState()
Gets the Metadata State of Minimum |
java.lang.String |
getPartnerName()
Gets the String value of PartnerName |
int |
getPartnerNameMaxLength()
Gets the maximum length of PartnerName |
int |
getPartnerNameState()
Gets the Metadata State of PartnerName |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setAssociatedPrototypes(AssociationList list)
Sets the AssociatedPrototypes list to be list. |
void |
setAssociatedPrototypes(AssociationList inObjects,
int state)
Sets the entire AssociatedPrototypes list to match the passed in AssociationList, sets the state of the AssociatedPrototypes |
void |
setAssociationName(java.lang.String inAssociationName)
Sets the AssociationName value and sets the state to MetadataState.LOCAL. |
void |
setAssociationName(java.lang.String inAssociationName,
int state)
Sets the AssociationName Metadata State. |
void |
setAssociationNameState(int state)
Sets the Metadata State of AssociationName. |
void |
setMaximum(int inMaximum)
Sets the Maximum value and sets the state to MetadataState.LOCAL. |
void |
setMaximum(int inMaximum,
int state)
Sets the Maximum Metadata State. |
void |
setMaximum(java.lang.String inMaximum)
Sets the Maximum value and sets the state to MetadataState.LOCAL. |
void |
setMaximum(java.lang.String inMaximum,
int state)
Sets the Maximum value and Metadata State. |
void |
setMaximumState(int state)
Sets the Metadata State of Maximum. |
void |
setMetadataType(java.lang.String inMetadataType)
Sets the MetadataType value and sets the state to MetadataState.LOCAL. |
void |
setMetadataType(java.lang.String inMetadataType,
int state)
Sets the MetadataType Metadata State. |
void |
setMetadataTypeState(int state)
Sets the Metadata State of MetadataType. |
void |
setMinimum(int inMinimum)
Sets the Minimum value and sets the state to MetadataState.LOCAL. |
void |
setMinimum(int inMinimum,
int state)
Sets the Minimum Metadata State. |
void |
setMinimum(java.lang.String inMinimum)
Sets the Minimum value and sets the state to MetadataState.LOCAL. |
void |
setMinimum(java.lang.String inMinimum,
int state)
Sets the Minimum value and Metadata State. |
void |
setMinimumState(int state)
Sets the Metadata State of Minimum. |
void |
setPartnerName(java.lang.String inPartnerName)
Sets the PartnerName value and sets the state to MetadataState.LOCAL. |
void |
setPartnerName(java.lang.String inPartnerName,
int state)
Sets the PartnerName Metadata State. |
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 | |||||||||||||