Package com.sas.metadata.remote
Interface SXLEMap
- All Superinterfaces:
CMetadata,Group,MdObjectBase,MdObjectBaseUtil,MdObjectBaseXML,PrimaryType,Remote,Root
Root node for SXLE map definition.
Example: create a SXLEMap with name "SXLEMap_Object", in repository "AAAAAAAA".
Attributes of SXLEMap are:
Associations of SXLEMap are:
Usage
To create an instance of this SXLEMap, use thefactory
create methods. Example: create a SXLEMap with name "SXLEMap_Object", in repository "AAAAAAAA".
// 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(); SXLEMap myObject = (SXLEMap) factory.createComplexMetadataObject(objectStore, "SXLEMap_Object", MetadataObjects.SXLEMAP, "AAAAAAAA"); myObject.updateMetadataAll(); // Write object to server objectStore.dispose(); // dispose of the object store if it is no longer needed
Behavior
- Attributes and associations for this object can be retrieved by using the methods in
MdOMIUtil. - When changes are made to the object, either by setting an attribute or adding objects to a particular association,
they can be persisted to the metadata server with the
updateMetadataAllmethod. - If an object needs to be deleted, the
deletemethod 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.
Dependencies
This class depends on objects being contained in an MdObjectStore. Object stores should be disposed of when they are no longer needed as this will help clean up memory. Disposing an object store will dispose of all objects contained within that store.- Since:
- 9.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringConstant used for the name of the XMLMapTables association.static final StringConstant used for the name of the IsInstituteSupplied attribute.static final StringConstant used for the name of the MapVersion attribute.static final StringConstant used for the name of the Validation attribute.static final StringConstant used for the name of the ValidationPath attribute.static final StringConstant used for the name of the ValidationSource attribute.Fields inherited from interface com.sas.metadata.remote.Group
ASSOCIATION_GROUPSUBSCRIPTIONS_NAME, ASSOCIATION_MEMBERS_NAME, ASSOCIATION_SOFTWARECOMPONENTS_NAMEFields inherited from interface com.sas.metadata.remote.MdObjectBase
ATTRIBUTE_DESC_NAME, ATTRIBUTE_ID_NAME, ATTRIBUTE_METADATACREATED_NAME, ATTRIBUTE_METADATAUPDATED_NAME, ATTRIBUTE_NAME_NAMEFields inherited from interface com.sas.metadata.remote.PrimaryType
ASSOCIATION_FAVORITESCONTAINERS_NAME, ATTRIBUTE_ISHIDDEN_NAME, ATTRIBUTE_PUBLICTYPE_NAMEFields inherited from interface com.sas.metadata.remote.Root
ASSOCIATION_ACCESSCONTROLS_NAME, ASSOCIATION_CHANGES_NAME, ASSOCIATION_CUSTOMASSOCIATIONS_NAME, ASSOCIATION_DOCUMENTS_NAME, ASSOCIATION_EXTENSIONS_NAME, ASSOCIATION_EXTERNALIDENTITIES_NAME, ASSOCIATION_GROUPS_NAME, ASSOCIATION_IMPLEMENTORS_NAME, ASSOCIATION_KEYWORDS_NAME, ASSOCIATION_LOCALIZEDATTRIBUTES_NAME, ASSOCIATION_NOTES_NAME, ASSOCIATION_PRIMARYPROPERTYGROUP_NAME, ASSOCIATION_PROMPTS_NAME, ASSOCIATION_PROPERTIES_NAME, ASSOCIATION_PROPERTYSETS_NAME, ASSOCIATION_REFERENCEDOBJECTS_NAME, ASSOCIATION_RESPONSIBLEPARTIES_NAME, ASSOCIATION_SOURCETRANSFORMATIONS_NAME, ASSOCIATION_SPECSOURCETRANSFORMATIONS_NAME, ASSOCIATION_SPECTARGETTRANSFORMATIONS_NAME, ASSOCIATION_TARGETTRANSFORMATIONS_NAME, ASSOCIATION_TIMESTAMPS_NAME, ASSOCIATION_TREES_NAME, ASSOCIATION_TSOBJECTNAMESPACE_NAME, ASSOCIATION_USEDBYPROTOTYPES_NAME, ASSOCIATION_USINGPROTOTYPE_NAME, ASSOCIATION_VARIABLES_NAME, ATTRIBUTE_CHANGESTATE_NAME, ATTRIBUTE_LOCKEDBY_NAME, ATTRIBUTE_USAGEVERSION_NAME -
Method Summary
Modifier and TypeMethodDescriptionintGets theintvalue ofIsInstituteSuppliedintGets the Metadata State ofIsInstituteSuppliedStringGets theStringvalue ofMapVersionintGets the maximum length ofMapVersionintGets the Metadata State ofMapVersionintGets theintvalue ofValidationStringGets theStringvalue ofValidationPathintGets the maximum length ofValidationPathintGets the Metadata State ofValidationPathintGets theintvalue ofValidationSourceintGets the Metadata State ofValidationSourceintGets the Metadata State ofValidationGets the AssociationList ofXMLMapTablesgetXMLMapTables(boolean fGoToServer) Gets the Associationlist ofXMLMapTablesvoid(S) Adds the Associated objects to the predObjects which are:
XMLMapTablesvoid(S) This initializes the Required Objects(Roles) which are:voidsetIsInstituteSupplied(int inIsInstituteSupplied) Sets theIsInstituteSuppliedvalue and sets the state to MetadataState.LOCAL.voidsetIsInstituteSupplied(int inIsInstituteSupplied, int state) Sets theIsInstituteSuppliedMetadata State.voidsetIsInstituteSupplied(String inIsInstituteSupplied) Sets theIsInstituteSuppliedvalue and sets the state to MetadataState.LOCAL.voidsetIsInstituteSupplied(String inIsInstituteSupplied, int state) Sets theIsInstituteSuppliedvalue and Metadata State.voidsetIsInstituteSuppliedState(int state) Sets the Metadata State ofIsInstituteSupplied.voidsetMapVersion(String inMapVersion) Sets theMapVersionvalue and sets the state to MetadataState.LOCAL.voidsetMapVersion(String inMapVersion, int state) Sets theMapVersionMetadata State.voidsetMapVersionState(int state) Sets the Metadata State ofMapVersion.voidsetValidation(int inValidation) Sets theValidationvalue and sets the state to MetadataState.LOCAL.voidsetValidation(int inValidation, int state) Sets theValidationMetadata State.voidsetValidation(String inValidation) Sets theValidationvalue and sets the state to MetadataState.LOCAL.voidsetValidation(String inValidation, int state) Sets theValidationvalue and Metadata State.voidsetValidationPath(String inValidationPath) Sets theValidationPathvalue and sets the state to MetadataState.LOCAL.voidsetValidationPath(String inValidationPath, int state) Sets theValidationPathMetadata State.voidsetValidationPathState(int state) Sets the Metadata State ofValidationPath.voidsetValidationSource(int inValidationSource) Sets theValidationSourcevalue and sets the state to MetadataState.LOCAL.voidsetValidationSource(int inValidationSource, int state) Sets theValidationSourceMetadata State.voidsetValidationSource(String inValidationSource) Sets theValidationSourcevalue and sets the state to MetadataState.LOCAL.voidsetValidationSource(String inValidationSource, int state) Sets theValidationSourcevalue and Metadata State.voidsetValidationSourceState(int state) Sets the Metadata State ofValidationSource.voidsetValidationState(int state) Sets the Metadata State ofValidation.voidSets theXMLMapTableslist to belist.voidsetXMLMapTables(AssociationList inObjects, int state) Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationListMethods inherited from interface com.sas.metadata.remote.Group
getGroupSubscriptions, getGroupSubscriptions, getMembers, getMembers, getSoftwareComponents, getSoftwareComponents, setGroupSubscriptions, setGroupSubscriptions, setMembers, setMembers, setSoftwareComponents, setSoftwareComponentsMethods inherited from interface com.sas.metadata.remote.MdObjectBase
addElementToChangeList, clearChangeList, getChangeList, getCMetadataType, getDesc, getDescMaxLength, getDescState, getFQID, getId, getIdState, getMetadataCreated, getMetadataCreatedState, getMetadataUpdated, getMetadataUpdatedState, getName, getNameMaxLength, getNameState, getObjectStore, getPredAssociations, getRepositoryID, getRequiredAssociations, getState, isAssociationRequired, isNewObject, isPredAssociation, removeElementFromChangeList, resetObject, resetState, resetStates, setCMetadataType, setDesc, setDesc, setDescState, setFQID, setFQID, setId, setId, setIdState, setMetadataCreated, setMetadataCreated, setMetadataCreatedState, setMetadataUpdated, setMetadataUpdated, setMetadataUpdatedState, setName, setName, setNameState, setObjectStore, setStateMethods inherited from interface com.sas.metadata.remote.MdObjectBaseUtil
addMdObjectListener, delete, dispose, fireMdObjectModified, getAssociatedObjects, getAssociatedObjects, getAssociatedObjects, getAssociationNames, getAssocs, getAssocsWA, getAttributeNames, getAttrs, getAttrsStates, getAuthorizationUtil, getChangeManagementState, getChgMgtExternalIdentityImportType, getClientSideOnlyObject, getMdObjectAssociation, getPopulatedAssocs, getUpdatedAttrs, getViewList, isCheckedOut, isLocked, objectModified, removeMdObjectListener, setAttrs, setChangeManagementTargetRepository, setChgMgtExternalIdentityImportType, setClientSideOnlyObject, setMdObjectAssociation, touch, updateAssnsIdsMethods inherited from interface com.sas.metadata.remote.MdObjectBaseXML
closeUpdateMetadataXML, createEmptyXML, createObjectRefreshXML, createObjectXML, createObjectXML, createUpdateAssociationXML, createUpdateAssociationXML, createUpdateSimpleXML, doCreateUpdateXML, getUpdateSimpleSubstring, updateMetadataAllMethods inherited from interface com.sas.metadata.remote.PrimaryType
getFavoritesContainers, getFavoritesContainers, getIsHidden, getIsHiddenState, getPublicType, getPublicTypeMaxLength, getPublicTypeState, setFavoritesContainers, setFavoritesContainers, setIsHidden, setIsHidden, setIsHidden, setIsHidden, setIsHiddenState, setPublicType, setPublicType, setPublicTypeStateMethods inherited from interface com.sas.metadata.remote.Root
getAccessControls, getAccessControls, getChanges, getChanges, getChangeState, getChangeStateMaxLength, getChangeStateState, getCustomAssociations, getCustomAssociations, getDocuments, getDocuments, getExtensions, getExtensions, getExternalIdentities, getExternalIdentities, getGroups, getGroups, getImplementors, getImplementors, getKeywords, getKeywords, getLocalizedAttributes, getLocalizedAttributes, getLockedBy, getLockedByMaxLength, getLockedByState, getNotes, getNotes, getPrimaryPropertyGroup, getPrimaryPropertyGroups, getPrimaryPropertyGroups, getPrompts, getPrompts, getProperties, getProperties, getPropertySets, getPropertySets, getReferencedObjects, getReferencedObjects, getResponsibleParties, getResponsibleParties, getSourceTransformations, getSourceTransformations, getSpecSourceTransformations, getSpecSourceTransformations, getSpecTargetTransformations, getSpecTargetTransformations, getTargetTransformations, getTargetTransformations, getTimestamps, getTimestamps, getTrees, getTrees, getTSObjectNamespace, getTSObjectNamespaces, getTSObjectNamespaces, getUsageVersion, getUsageVersionState, getUsedByPrototypes, getUsedByPrototypes, getUsingPrototype, getUsingPrototypes, getUsingPrototypes, getVariables, getVariables, setAccessControls, setAccessControls, setChanges, setChanges, setChangeState, setChangeState, setChangeStateState, setCustomAssociations, setCustomAssociations, setDocuments, setDocuments, setExtensions, setExtensions, setExternalIdentities, setExternalIdentities, setGroups, setGroups, setImplementors, setImplementors, setKeywords, setKeywords, setLocalizedAttributes, setLocalizedAttributes, setLockedBy, setLockedBy, setLockedByState, setNotes, setNotes, setPrimaryPropertyGroup, setPrimaryPropertyGroups, setPrimaryPropertyGroups, setPrompts, setPrompts, setProperties, setProperties, setPropertySets, setPropertySets, setReferencedObjects, setReferencedObjects, setResponsibleParties, setResponsibleParties, setSourceTransformations, setSourceTransformations, setSpecSourceTransformations, setSpecSourceTransformations, setSpecTargetTransformations, setSpecTargetTransformations, setTargetTransformations, setTargetTransformations, setTimestamps, setTimestamps, setTrees, setTrees, setTSObjectNamespace, setTSObjectNamespaces, setTSObjectNamespaces, setUsageVersion, setUsageVersion, setUsageVersion, setUsageVersion, setUsageVersionState, setUsedByPrototypes, setUsedByPrototypes, setUsingPrototype, setUsingPrototypes, setUsingPrototypes, setVariables, setVariables
-
Field Details
-
ATTRIBUTE_ISINSTITUTESUPPLIED_NAME
static final String ATTRIBUTE_ISINSTITUTESUPPLIED_NAMEConstant used for the name of the IsInstituteSupplied attribute.IsInstituteSupplied: The answer to the question: Is this map supplied by SAS?
- See Also:
-
ATTRIBUTE_MAPVERSION_NAME
static final String ATTRIBUTE_MAPVERSION_NAMEConstant used for the name of the MapVersion attribute.MapVersion: A string representing the major and minor versions, release and build number of the map.
- See Also:
-
ATTRIBUTE_VALIDATION_NAME
static final String ATTRIBUTE_VALIDATION_NAMEConstant used for the name of the Validation attribute.Validation: The type of validation available for the map file. 0 = none 1 = XSD 2 = DTD
- See Also:
-
ATTRIBUTE_VALIDATIONSOURCE_NAME
static final String ATTRIBUTE_VALIDATIONSOURCE_NAMEConstant used for the name of the ValidationSource attribute.ValidationSource: The source of the validation for the map file. 0 = Web 1 = File
- See Also:
-
ATTRIBUTE_VALIDATIONPATH_NAME
static final String ATTRIBUTE_VALIDATIONPATH_NAMEConstant used for the name of the ValidationPath attribute.ValidationPath: The path to the validation for the map file.
- See Also:
-
ASSOCIATION_XMLMAPTABLES_NAME
static final String ASSOCIATION_XMLMAPTABLES_NAMEConstant used for the name of the XMLMapTables association.XMLMapTables: The tables used to help define this SXLE map.
- See Also:
-
-
Method Details
-
initializeRequiredObjects
void initializeRequiredObjects() throws RemoteException(S) This initializes the Required Objects(Roles) which are:- Specified by:
initializeRequiredObjectsin interfaceGroup- Specified by:
initializeRequiredObjectsin interfaceMdObjectBaseUtil- Specified by:
initializeRequiredObjectsin interfacePrimaryType- Specified by:
initializeRequiredObjectsin interfaceRoot- Throws:
RemoteException- If error connecting/communicating to/with remote object.
-
initializePredObjects
void initializePredObjects() throws RemoteException(S) Adds the Associated objects to the predObjects which are:
XMLMapTables- Specified by:
initializePredObjectsin interfaceGroup- Specified by:
initializePredObjectsin interfaceMdObjectBase- Specified by:
initializePredObjectsin interfacePrimaryType- Specified by:
initializePredObjectsin interfaceRoot- Throws:
RemoteException- If error connecting/communicating to/with remote object.
-
getIsInstituteSupplied
int getIsInstituteSupplied() throws RemoteExceptionGets theintvalue ofIsInstituteSupplied- Returns:
- The
IsInstituteSupplied - Throws:
RemoteException- If error connecting/communicating to/with remote object.
-
getIsInstituteSuppliedState
int getIsInstituteSuppliedState() throws RemoteExceptionGets the Metadata State ofIsInstituteSupplied- Returns:
- The State.
- Throws:
RemoteException- If error connecting/communicating to/with remote object.
-
getMapVersion
String getMapVersion() throws RemoteExceptionGets theStringvalue ofMapVersion- Returns:
- The
MapVersion - Throws:
RemoteException- If error connecting/communicating to/with remote object.
-
getMapVersionState
int getMapVersionState() throws RemoteExceptionGets the Metadata State ofMapVersion- Returns:
- The State.
- Throws:
RemoteException- If error connecting/communicating to/with remote object.
-
getMapVersionMaxLength
int getMapVersionMaxLength() throws RemoteExceptionGets the maximum length ofMapVersion- Returns:
- The max size
- Throws:
RemoteException- If error connecting/communicating to/with remote object.
-
getValidation
int getValidation() throws RemoteExceptionGets theintvalue ofValidation- Returns:
- The
Validation - Throws:
RemoteException- If error connecting/communicating to/with remote object.
-
getValidationState
int getValidationState() throws RemoteExceptionGets the Metadata State ofValidation- Returns:
- The State.
- Throws:
RemoteException- If error connecting/communicating to/with remote object.
-
getValidationSource
int getValidationSource() throws RemoteExceptionGets theintvalue ofValidationSource- Returns:
- The
ValidationSource - Throws:
RemoteException- If error connecting/communicating to/with remote object.
-
getValidationSourceState
int getValidationSourceState() throws RemoteExceptionGets the Metadata State ofValidationSource- Returns:
- The State.
- Throws:
RemoteException- If error connecting/communicating to/with remote object.
-
getValidationPath
String getValidationPath() throws RemoteExceptionGets theStringvalue ofValidationPath- Returns:
- The
ValidationPath - Throws:
RemoteException- If error connecting/communicating to/with remote object.
-
getValidationPathState
int getValidationPathState() throws RemoteExceptionGets the Metadata State ofValidationPath- Returns:
- The State.
- Throws:
RemoteException- If error connecting/communicating to/with remote object.
-
getValidationPathMaxLength
int getValidationPathMaxLength() throws RemoteExceptionGets the maximum length ofValidationPath- Returns:
- The max size
- Throws:
RemoteException- If error connecting/communicating to/with remote object.
-
getXMLMapTables
Gets the AssociationList ofXMLMapTables- Returns:
- Returns the AssociationList of
XMLMapTableswhich can be of type:
RelationalTable
PhysicalTable
WorkTable
SecuredTable
QueryTable
JoinTable - Throws:
RemoteException- If error connecting/communicating to/with remote object.MdException- If error getting/setting part of the object.
-
getXMLMapTables
Gets the Associationlist ofXMLMapTables- Parameters:
fGoToServer- boolean Get the value from the server.- Returns:
- Returns the AssociationList of
XMLMapTableswhich can be of type:
RelationalTable
PhysicalTable
WorkTable
SecuredTable
QueryTable
JoinTable - Throws:
RemoteException- If error connecting/communicating to/with remote object.MdException- If error getting/setting part of the object.
-
setIsInstituteSupplied
void setIsInstituteSupplied(int inIsInstituteSupplied) throws RemoteException Sets theIsInstituteSuppliedvalue and sets the state to MetadataState.LOCAL.- Parameters:
inIsInstituteSupplied- int- Throws:
RemoteException- If error communicating with remote object.
-
setIsInstituteSupplied
void setIsInstituteSupplied(int inIsInstituteSupplied, int state) throws RemoteException Sets theIsInstituteSuppliedMetadata State.- Parameters:
inIsInstituteSupplied- intstate- int- Throws:
RemoteException- If error communicating with remote object.
-
setIsInstituteSupplied
void setIsInstituteSupplied(String inIsInstituteSupplied) throws RemoteException Sets theIsInstituteSuppliedvalue and sets the state to MetadataState.LOCAL.- Parameters:
inIsInstituteSupplied- String- Throws:
RemoteException- If error communicating with remote object.
-
setIsInstituteSupplied
void setIsInstituteSupplied(String inIsInstituteSupplied, int state) throws RemoteException Sets theIsInstituteSuppliedvalue and Metadata State.- Parameters:
inIsInstituteSupplied- Stringstate- int- Throws:
RemoteException- If error communicating with remote object.
-
setIsInstituteSuppliedState
void setIsInstituteSuppliedState(int state) throws RemoteException Sets the Metadata State ofIsInstituteSupplied.- Parameters:
state- int- Throws:
RemoteException- If error communicating with remote object.
-
setMapVersion
void setMapVersion(String inMapVersion) throws RemoteException Sets theMapVersionvalue and sets the state to MetadataState.LOCAL.- Parameters:
inMapVersion- String- Throws:
RemoteException- If error communicating with remote object.
-
setMapVersion
void setMapVersion(String inMapVersion, int state) throws RemoteException Sets theMapVersionMetadata State.- Parameters:
inMapVersion- Stringstate- int- Throws:
RemoteException- If error communicating with remote object.
-
setMapVersionState
void setMapVersionState(int state) throws RemoteException Sets the Metadata State ofMapVersion.- Parameters:
state- int- Throws:
RemoteException- If error communicating with remote object.
-
setValidation
void setValidation(int inValidation) throws RemoteException Sets theValidationvalue and sets the state to MetadataState.LOCAL.- Parameters:
inValidation- int- Throws:
RemoteException- If error communicating with remote object.
-
setValidation
void setValidation(int inValidation, int state) throws RemoteException Sets theValidationMetadata State.- Parameters:
inValidation- intstate- int- Throws:
RemoteException- If error communicating with remote object.
-
setValidation
void setValidation(String inValidation) throws RemoteException Sets theValidationvalue and sets the state to MetadataState.LOCAL.- Parameters:
inValidation- String- Throws:
RemoteException- If error communicating with remote object.
-
setValidation
void setValidation(String inValidation, int state) throws RemoteException Sets theValidationvalue and Metadata State.- Parameters:
inValidation- Stringstate- int- Throws:
RemoteException- If error communicating with remote object.
-
setValidationState
void setValidationState(int state) throws RemoteException Sets the Metadata State ofValidation.- Parameters:
state- int- Throws:
RemoteException- If error communicating with remote object.
-
setValidationSource
void setValidationSource(int inValidationSource) throws RemoteException Sets theValidationSourcevalue and sets the state to MetadataState.LOCAL.- Parameters:
inValidationSource- int- Throws:
RemoteException- If error communicating with remote object.
-
setValidationSource
void setValidationSource(int inValidationSource, int state) throws RemoteException Sets theValidationSourceMetadata State.- Parameters:
inValidationSource- intstate- int- Throws:
RemoteException- If error communicating with remote object.
-
setValidationSource
void setValidationSource(String inValidationSource) throws RemoteException Sets theValidationSourcevalue and sets the state to MetadataState.LOCAL.- Parameters:
inValidationSource- String- Throws:
RemoteException- If error communicating with remote object.
-
setValidationSource
void setValidationSource(String inValidationSource, int state) throws RemoteException Sets theValidationSourcevalue and Metadata State.- Parameters:
inValidationSource- Stringstate- int- Throws:
RemoteException- If error communicating with remote object.
-
setValidationSourceState
void setValidationSourceState(int state) throws RemoteException Sets the Metadata State ofValidationSource.- Parameters:
state- int- Throws:
RemoteException- If error communicating with remote object.
-
setValidationPath
void setValidationPath(String inValidationPath) throws RemoteException Sets theValidationPathvalue and sets the state to MetadataState.LOCAL.- Parameters:
inValidationPath- String- Throws:
RemoteException- If error communicating with remote object.
-
setValidationPath
void setValidationPath(String inValidationPath, int state) throws RemoteException Sets theValidationPathMetadata State.- Parameters:
inValidationPath- Stringstate- int- Throws:
RemoteException- If error communicating with remote object.
-
setValidationPathState
void setValidationPathState(int state) throws RemoteException Sets the Metadata State ofValidationPath.- Parameters:
state- int- Throws:
RemoteException- If error communicating with remote object.
-
setXMLMapTables
Sets theXMLMapTableslist to belist. Objects of which can be of type:
RelationalTable
PhysicalTable
WorkTable
SecuredTable
QueryTable
JoinTable- Parameters:
list- AssociationList- Throws:
RemoteException- If error communicating with remote object.
-
setXMLMapTables
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList- Parameters:
inObjects- AssociationListstate- int- Throws:
RemoteException- If error communicating with remote object.
-