|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Key
Represents keys on tables.
Attributes of Key are:
Associations of Key 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(); Key myObject = (Key) factory.createComplexMetadataObject(objectStore, "Key_Object", MetadataObjects.KEY, "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_DISPLAYCOLUMNS_NAME
Constant used for the name of the DisplayColumns association. |
static java.lang.String |
ASSOCIATION_KEYEDCOLUMNS_NAME
Constant used for the name of the KeyedColumns association. |
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 |
getDisplayColumns()
Gets the AssociationList of DisplayColumns |
AssociationList |
getDisplayColumns(boolean fGoToServer)
Gets the Associationlist of DisplayColumns |
AssociationList |
getKeyedColumns()
Gets the Association list of KeyedColumns |
AssociationList |
getKeyedColumns(boolean fGoToServer)
Gets the Associationlist of KeyedColumns |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: DisplayColumns |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setDisplayColumns(AssociationList list)
Sets the DisplayColumns list to be list . |
void |
setDisplayColumns(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
void |
setKeyedColumns(AssociationList list)
Sets the KeyedColumns list to be list . |
void |
setKeyedColumns(AssociationList inObjects,
int state)
Sets the entire KeyedColumns list to match the passed in AssociationList, sets the state of the KeyedColumns |
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 ASSOCIATION_DISPLAYCOLUMNS_NAME
DisplayColumns: The columns that contain the displayable text for a key.
static final java.lang.String ASSOCIATION_KEYEDCOLUMNS_NAME
KeyedColumns: The columns that comprise this key. This association may be with a single column, or with multiple columns, if the key is a composite key.
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
initializeRequiredObjects
in interface MdObjectBaseUtil
initializeRequiredObjects
in interface Root
initializeRequiredObjects
in interface SecondaryType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.void initializePredObjects() throws java.rmi.RemoteException
DisplayColumns
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface Root
initializePredObjects
in interface SecondaryType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getDisplayColumns() throws java.rmi.RemoteException, MdException
DisplayColumns
DisplayColumns
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 getKeyedColumns() throws java.rmi.RemoteException, MdException
KeyedColumns
KeyedColumns
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 getDisplayColumns(boolean fGoToServer) throws java.rmi.RemoteException, MdException
DisplayColumns
fGoToServer
- boolean Get the value from the server.
DisplayColumns
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 getKeyedColumns(boolean fGoToServer) throws java.rmi.RemoteException, MdException
KeyedColumns
fGoToServer
- boolean Get the value from the server.
KeyedColumns
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 setDisplayColumns(AssociationList list) throws java.rmi.RemoteException
DisplayColumns
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setDisplayColumns(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setKeyedColumns(AssociationList list) throws java.rmi.RemoteException
KeyedColumns
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setKeyedColumns(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 |