|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface Change
This type is used by Change Mangement. Change represents the identity who made the change and is associated to all objects checked back into a repository.
Attributes of Change are:
Associations of Change 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(); Change myObject = (Change) factory.createComplexMetadataObject(objectStore, "Change_Object", MetadataObjects.CHANGE, "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_CHANGEIDENTITY_NAME
Constant used for the name of the ChangeIdentity association. |
static java.lang.String |
ASSOCIATION_OBJECTS_NAME
Constant used for the name of the Objects 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 | |
|---|---|
Identity |
getChangeIdentity()
Gets the Identity for ChangeIdentity |
AssociationList |
getChangeIdentitys()
Gets the AssociationList of ChangeIdentitys |
AssociationList |
getChangeIdentitys(boolean fGoToServer)
Gets the Associationlist of ChangeIdentitys |
AssociationList |
getObjects()
Gets the Association list of Objects |
AssociationList |
getObjects(boolean fGoToServer)
Gets the Associationlist of Objects |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: ChangeIdentity |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: Objects |
void |
setChangeIdentity(Identity inObject)
Sets the ChangeIdentitys list 0th element to be inObject. |
void |
setChangeIdentitys(AssociationList list)
Sets the ChangeIdentitys list to be list. |
void |
setChangeIdentitys(AssociationList list,
int state)
Sets the ChangeIdentitys list to be list. |
void |
setObjects(AssociationList list)
Sets the Objects list to be list. |
void |
setObjects(AssociationList inObjects,
int state)
Sets the entire Objects list to match the passed in AssociationList, sets the state of the Objects |
| 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_CHANGEIDENTITY_NAME
ChangeIdentity: The identity used to make the change.
static final java.lang.String ASSOCIATION_OBJECTS_NAME
Objects: This association is used by the change management facility and indicates the objects included in this change. The change management facility is used exclusively by SAS Data Integration Studio.
| Method Detail |
|---|
void initializeRequiredObjects()
throws java.rmi.RemoteException
Objects
initializeRequiredObjects in interface MdObjectBaseUtilinitializeRequiredObjects in interface RootinitializeRequiredObjects in interface SecondaryTypejava.rmi.RemoteException - If error connecting/communicating to/with remote object.
void initializePredObjects()
throws java.rmi.RemoteException
ChangeIdentity
initializePredObjects in interface MdObjectBaseinitializePredObjects in interface RootinitializePredObjects in interface SecondaryTypejava.rmi.RemoteException - If error connecting/communicating to/with remote object.
AssociationList getChangeIdentitys()
throws java.rmi.RemoteException,
MdException
ChangeIdentitys
ChangeIdentitys which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException
Identity getChangeIdentity()
throws java.rmi.RemoteException,
MdException
Identity for ChangeIdentity
Identity ( null if not set) of ChangeIdentitywhich 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 getObjects()
throws java.rmi.RemoteException,
MdException
Objects
Objects 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 getChangeIdentitys(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
ChangeIdentitys
fGoToServer - boolean Get the value from the server.
ChangeIdentitys 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 getObjects(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
Objects
fGoToServer - boolean Get the value from the server.
Objects 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 setChangeIdentitys(AssociationList list)
throws java.rmi.RemoteException
ChangeIdentitys list to be list. Object of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setChangeIdentitys(AssociationList list,
int state)
throws java.rmi.RemoteException
ChangeIdentitys list to be list. Object of which can be of type:
list - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setChangeIdentity(Identity inObject)
throws java.rmi.RemoteException
ChangeIdentitys list 0th element to be inObject.
inObject - Identity
java.rmi.RemoteException - If error communicating with remote object.
void setObjects(AssociationList list)
throws java.rmi.RemoteException
Objects list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setObjects(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 | |||||||||||||