|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Action
An action that will be performed when a stated condition is met.
Attributes of Action are:
Associations of Action 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(); Action myObject = (Action) factory.createComplexMetadataObject(objectStore, "Action_Object", MetadataObjects.ACTION, "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_CONDITIONACTIONSETS_NAME
Constant used for the name of the ConditionActionSets association. |
static java.lang.String |
ATTRIBUTE_ACTIONTYPE_NAME
Constant used for the name of the ActionType attribute. |
static java.lang.String |
ATTRIBUTE_INSTANCEVERSION_NAME
Constant used for the name of the InstanceVersion attribute. |
static java.lang.String |
ATTRIBUTE_UNIQUEIDENTIFIER_NAME
Constant used for the name of the UniqueIdentifier attribute. |
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 | |
---|---|
java.lang.String |
getActionType()
Gets the String value of ActionType |
int |
getActionTypeMaxLength()
Gets the maximum length of ActionType |
int |
getActionTypeState()
Gets the Metadata State of ActionType |
AssociationList |
getConditionActionSets()
Gets the Association list of ConditionActionSets |
AssociationList |
getConditionActionSets(boolean fGoToServer)
Gets the Associationlist of ConditionActionSets |
int |
getInstanceVersion()
Gets the int value of InstanceVersion |
int |
getInstanceVersionState()
Gets the Metadata State of InstanceVersion |
java.lang.String |
getUniqueIdentifier()
Gets the String value of UniqueIdentifier |
int |
getUniqueIdentifierMaxLength()
Gets the maximum length of UniqueIdentifier |
int |
getUniqueIdentifierState()
Gets the Metadata State of UniqueIdentifier |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setActionType(java.lang.String inActionType)
Sets the ActionType value and sets the state to MetadataState.LOCAL. |
void |
setActionType(java.lang.String inActionType,
int state)
Sets the ActionType Metadata State. |
void |
setActionTypeState(int state)
Sets the Metadata State of ActionType . |
void |
setConditionActionSets(AssociationList list)
Sets the ConditionActionSets list to be list . |
void |
setConditionActionSets(AssociationList inObjects,
int state)
Sets the entire ConditionActionSets list to match the passed in AssociationList, sets the state of the ConditionActionSets |
void |
setInstanceVersion(int inInstanceVersion)
Sets the InstanceVersion value and sets the state to MetadataState.LOCAL. |
void |
setInstanceVersion(int inInstanceVersion,
int state)
Sets the InstanceVersion Metadata State. |
void |
setInstanceVersion(java.lang.String inInstanceVersion)
Sets the InstanceVersion value and sets the state to MetadataState.LOCAL. |
void |
setInstanceVersion(java.lang.String inInstanceVersion,
int state)
Sets the InstanceVersion value and Metadata State. |
void |
setInstanceVersionState(int state)
Sets the Metadata State of InstanceVersion . |
void |
setUniqueIdentifier(java.lang.String inUniqueIdentifier)
Sets the UniqueIdentifier value and sets the state to MetadataState.LOCAL. |
void |
setUniqueIdentifier(java.lang.String inUniqueIdentifier,
int state)
Sets the UniqueIdentifier Metadata State. |
void |
setUniqueIdentifierState(int state)
Sets the Metadata State of UniqueIdentifier . |
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_UNIQUEIDENTIFIER_NAME
UniqueIdentifier: The unique identifier for this action.
static final java.lang.String ATTRIBUTE_ACTIONTYPE_NAME
ActionType: The type for this action.
static final java.lang.String ATTRIBUTE_INSTANCEVERSION_NAME
InstanceVersion: Instance version counter - incremented whenever an update is made to the design time objects. If the instance version of the run time object does not match the design time object it is based on, the run time instance will be updated to match the design time instance.
static final java.lang.String ASSOCIATION_CONDITIONACTIONSETS_NAME
ConditionActionSets: The condition action sets of that this action is a part.
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
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
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 getUniqueIdentifier() throws java.rmi.RemoteException
String
value of UniqueIdentifier
UniqueIdentifier
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getUniqueIdentifierState() throws java.rmi.RemoteException
UniqueIdentifier
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getUniqueIdentifierMaxLength() throws java.rmi.RemoteException
UniqueIdentifier
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getActionType() throws java.rmi.RemoteException
String
value of ActionType
ActionType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getActionTypeState() throws java.rmi.RemoteException
ActionType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getActionTypeMaxLength() throws java.rmi.RemoteException
ActionType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getInstanceVersion() throws java.rmi.RemoteException
int
value of InstanceVersion
InstanceVersion
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getInstanceVersionState() throws java.rmi.RemoteException
InstanceVersion
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getConditionActionSets() throws java.rmi.RemoteException, MdException
ConditionActionSets
ConditionActionSets
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 getConditionActionSets(boolean fGoToServer) throws java.rmi.RemoteException, MdException
ConditionActionSets
fGoToServer
- boolean Get the value from the server.
ConditionActionSets
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 setUniqueIdentifier(java.lang.String inUniqueIdentifier) throws java.rmi.RemoteException
UniqueIdentifier
value and sets the state to MetadataState.LOCAL.
inUniqueIdentifier
- String
java.rmi.RemoteException
- If error communicating with remote object.void setUniqueIdentifier(java.lang.String inUniqueIdentifier, int state) throws java.rmi.RemoteException
UniqueIdentifier
Metadata State.
inUniqueIdentifier
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setUniqueIdentifierState(int state) throws java.rmi.RemoteException
UniqueIdentifier
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setActionType(java.lang.String inActionType) throws java.rmi.RemoteException
ActionType
value and sets the state to MetadataState.LOCAL.
inActionType
- String
java.rmi.RemoteException
- If error communicating with remote object.void setActionType(java.lang.String inActionType, int state) throws java.rmi.RemoteException
ActionType
Metadata State.
inActionType
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setActionTypeState(int state) throws java.rmi.RemoteException
ActionType
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setInstanceVersion(int inInstanceVersion) throws java.rmi.RemoteException
InstanceVersion
value and sets the state to MetadataState.LOCAL.
inInstanceVersion
- int
java.rmi.RemoteException
- If error communicating with remote object.void setInstanceVersion(int inInstanceVersion, int state) throws java.rmi.RemoteException
InstanceVersion
Metadata State.
inInstanceVersion
- intstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setInstanceVersion(java.lang.String inInstanceVersion) throws java.rmi.RemoteException
InstanceVersion
value and sets the state to MetadataState.LOCAL.
inInstanceVersion
- String
java.rmi.RemoteException
- If error communicating with remote object.void setInstanceVersion(java.lang.String inInstanceVersion, int state) throws java.rmi.RemoteException
InstanceVersion
value and Metadata State.
inInstanceVersion
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setInstanceVersionState(int state) throws java.rmi.RemoteException
InstanceVersion
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setConditionActionSets(AssociationList list) throws java.rmi.RemoteException
ConditionActionSets
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setConditionActionSets(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 |