|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RelationalTable
Represents a relational table, one that does not have a physical representation. If the table resides in a DBMS or file system, it should be represented by a PhysicalTable. If it is a transient table, one that has a physical representation but is temporary, it should be represented as a WorkTable.
Attributes of RelationalTable are:
Associations of RelationalTable 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(); RelationalTable myObject = (RelationalTable) factory.createComplexMetadataObject(objectStore, "RelationalTable_Object", MetadataObjects.RELATIONALTABLE, "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_ANALYTICTABLES_NAME
Constant used for the name of the AnalyticTables association. |
static java.lang.String |
ASSOCIATION_ASSOCIATEDXMLMAP_NAME
Constant used for the name of the AssociatedXMLMap association. |
static java.lang.String |
ASSOCIATION_MODELRESULTS_NAME
Constant used for the name of the ModelResults association. |
static java.lang.String |
ASSOCIATION_XPATHS_NAME
Constant used for the name of the XPaths association. |
static java.lang.String |
ATTRIBUTE_MEMBERTYPE_NAME
Constant used for the name of the MemberType attribute. |
Fields inherited from interface com.sas.metadata.remote.DataTable |
---|
ASSOCIATION_COLUMNS_NAME, ASSOCIATION_FOREIGNKEYS_NAME, ASSOCIATION_ROLES_NAME, ASSOCIATION_TABLECOLLECTIONS_NAME, ASSOCIATION_TABLEPACKAGE_NAME, ASSOCIATION_UNIQUEKEYS_NAME, ATTRIBUTE_NUMROWS_NAME, ATTRIBUTE_TABLENAME_NAME |
Fields inherited from interface com.sas.metadata.remote.Classifier |
---|
ASSOCIATION_SOURCECLASSIFIERMAPS_NAME, ASSOCIATION_TARGETCLASSIFIERMAPS_NAME |
Fields inherited from interface com.sas.metadata.remote.PrimaryType |
---|
ASSOCIATION_FAVORITESCONTAINERS_NAME, ATTRIBUTE_ISHIDDEN_NAME, ATTRIBUTE_PUBLICTYPE_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 |
getAnalyticTables()
Gets the Association list of AnalyticTables |
AssociationList |
getAnalyticTables(boolean fGoToServer)
Gets the Associationlist of AnalyticTables |
SXLEMap |
getAssociatedXMLMap()
Gets the SXLEMap for AssociatedXMLMap |
AssociationList |
getAssociatedXMLMaps()
Gets the Association list of AssociatedXMLMaps |
AssociationList |
getAssociatedXMLMaps(boolean fGoToServer)
Gets the Associationlist of AssociatedXMLMaps |
java.lang.String |
getMemberType()
Gets the String value of MemberType |
int |
getMemberTypeMaxLength()
Gets the maximum length of MemberType |
int |
getMemberTypeState()
Gets the Metadata State of MemberType |
AssociationList |
getModelResults()
Gets the Association list of ModelResults |
AssociationList |
getModelResults(boolean fGoToServer)
Gets the Associationlist of ModelResults |
AssociationList |
getXPaths()
Gets the AssociationList of XPaths |
AssociationList |
getXPaths(boolean fGoToServer)
Gets the Associationlist of XPaths |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: XPaths |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setAnalyticTables(AssociationList list)
Sets the AnalyticTables list to be list . |
void |
setAnalyticTables(AssociationList inObjects,
int state)
Sets the entire AnalyticTables list to match the passed in AssociationList, sets the state of the AnalyticTables |
void |
setAssociatedXMLMap(SXLEMap inObject)
Sets the AssociatedXMLMaps list 0th element to be inObject . |
void |
setAssociatedXMLMaps(AssociationList list)
Sets the AssociatedXMLMaps list to be list . |
void |
setAssociatedXMLMaps(AssociationList list,
int state)
Sets the AssociatedXMLMaps list to be list . |
void |
setMemberType(java.lang.String inMemberType)
Sets the MemberType value and sets the state to MetadataState.LOCAL. |
void |
setMemberType(java.lang.String inMemberType,
int state)
Sets the MemberType Metadata State. |
void |
setMemberTypeState(int state)
Sets the Metadata State of MemberType . |
void |
setModelResults(AssociationList list)
Sets the ModelResults list to be list . |
void |
setModelResults(AssociationList inObjects,
int state)
Sets the entire ModelResults list to match the passed in AssociationList, sets the state of the ModelResults |
void |
setXPaths(AssociationList list)
Sets the XPaths list to be list . |
void |
setXPaths(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
Methods inherited from interface com.sas.metadata.remote.DataTable |
---|
getColumns, getColumns, getForeignKeys, getForeignKeys, getNumRows, getNumRowsState, getRoles, getRoles, getTableCollections, getTableCollections, getTableName, getTableNameMaxLength, getTableNameState, getTablePackage, getTablePackages, getTablePackages, getUniqueKeys, getUniqueKeys, setColumns, setColumns, setForeignKeys, setForeignKeys, setNumRows, setNumRows, setNumRows, setNumRows, setNumRowsState, setRoles, setRoles, setTableCollections, setTableCollections, setTableName, setTableName, setTableNameState, setTablePackage, setTablePackages, setTablePackages, setUniqueKeys, setUniqueKeys |
Methods inherited from interface com.sas.metadata.remote.Classifier |
---|
getSourceClassifierMaps, getSourceClassifierMaps, getTargetClassifierMaps, getTargetClassifierMaps, setSourceClassifierMaps, setSourceClassifierMaps, setTargetClassifierMaps, setTargetClassifierMaps |
Methods inherited from interface com.sas.metadata.remote.PrimaryType |
---|
getFavoritesContainers, getFavoritesContainers, getIsHidden, getIsHiddenState, getPublicType, getPublicTypeMaxLength, getPublicTypeState, setFavoritesContainers, setFavoritesContainers, setIsHidden, setIsHidden, setIsHidden, setIsHidden, setIsHiddenState, setPublicType, setPublicType, setPublicTypeState |
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_MEMBERTYPE_NAME
MemberType: The MemberType attribute is the value of memtype returned by proc contents output. It can have the values of DATA, VIEW, MDDB, etc.
static final java.lang.String ASSOCIATION_XPATHS_NAME
XPaths: The list of XPath objects that define the path of the table in the XML source.
static final java.lang.String ASSOCIATION_ANALYTICTABLES_NAME
AnalyticTables: The analytic table attributes associated with this table.
static final java.lang.String ASSOCIATION_ASSOCIATEDXMLMAP_NAME
AssociatedXMLMap: The associated XML Map.
static final java.lang.String ASSOCIATION_MODELRESULTS_NAME
ModelResults: The mining results associated to this target table.
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
initializeRequiredObjects
in interface Classifier
initializeRequiredObjects
in interface DataTable
initializeRequiredObjects
in interface MdObjectBaseUtil
initializeRequiredObjects
in interface PrimaryType
initializeRequiredObjects
in interface Root
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.void initializePredObjects() throws java.rmi.RemoteException
XPaths
initializePredObjects
in interface Classifier
initializePredObjects
in interface DataTable
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface PrimaryType
initializePredObjects
in interface Root
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getMemberType() throws java.rmi.RemoteException
String
value of MemberType
MemberType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getMemberTypeState() throws java.rmi.RemoteException
MemberType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getMemberTypeMaxLength() throws java.rmi.RemoteException
MemberType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getXPaths() throws java.rmi.RemoteException, MdException
XPaths
XPaths
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 getAnalyticTables() throws java.rmi.RemoteException, MdException
AnalyticTables
AnalyticTables
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 getAssociatedXMLMaps() throws java.rmi.RemoteException, MdException
AssociatedXMLMaps
AssociatedXMLMaps
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.SXLEMap getAssociatedXMLMap() throws java.rmi.RemoteException, MdException
SXLEMap
for AssociatedXMLMap
SXLEMap
( null
if not set ) of AssociatedXMLMap
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 getModelResults() throws java.rmi.RemoteException, MdException
ModelResults
ModelResults
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 getXPaths(boolean fGoToServer) throws java.rmi.RemoteException, MdException
XPaths
fGoToServer
- boolean Get the value from the server.
XPaths
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 getAnalyticTables(boolean fGoToServer) throws java.rmi.RemoteException, MdException
AnalyticTables
fGoToServer
- boolean Get the value from the server.
AnalyticTables
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 getAssociatedXMLMaps(boolean fGoToServer) throws java.rmi.RemoteException, MdException
AssociatedXMLMaps
fGoToServer
- boolean Get the value from the server.
AssociatedXMLMaps
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 getModelResults(boolean fGoToServer) throws java.rmi.RemoteException, MdException
ModelResults
fGoToServer
- boolean Get the value from the server.
ModelResults
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 setMemberType(java.lang.String inMemberType) throws java.rmi.RemoteException
MemberType
value and sets the state to MetadataState.LOCAL.
inMemberType
- String
java.rmi.RemoteException
- If error communicating with remote object.void setMemberType(java.lang.String inMemberType, int state) throws java.rmi.RemoteException
MemberType
Metadata State.
inMemberType
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setMemberTypeState(int state) throws java.rmi.RemoteException
MemberType
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setXPaths(AssociationList list) throws java.rmi.RemoteException
XPaths
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setXPaths(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setAnalyticTables(AssociationList list) throws java.rmi.RemoteException
AnalyticTables
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setAnalyticTables(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setAssociatedXMLMaps(AssociationList list) throws java.rmi.RemoteException
AssociatedXMLMaps
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setAssociatedXMLMaps(AssociationList list, int state) throws java.rmi.RemoteException
AssociatedXMLMaps
list to be list
. Objects of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setAssociatedXMLMap(SXLEMap inObject) throws java.rmi.RemoteException
AssociatedXMLMaps
list 0th element to be inObject
.
inObject
- SXLEMap
java.rmi.RemoteException
- If error communicating with remote object.void setModelResults(AssociationList list) throws java.rmi.RemoteException
ModelResults
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setModelResults(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 |