|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConditionalPrecedence
The preceding and succeeding steps based on the stated condition.
Attributes of ConditionalPrecedence are:
Associations of ConditionalPrecedence 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(); ConditionalPrecedence myObject = (ConditionalPrecedence) factory.createComplexMetadataObject(objectStore, "ConditionalPrecedence_Object", MetadataObjects.CONDITIONALPRECEDENCE, "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 |
ATTRIBUTE_CONDITION_NAME
Constant used for the name of the Condition attribute. |
Fields inherited from interface com.sas.metadata.remote.StepPrecedence |
---|
ASSOCIATION_PREDECESSORS_NAME, ASSOCIATION_SUCCESSORS_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 |
getCondition()
Gets the String value of Condition |
int |
getConditionMaxLength()
Gets the maximum length of Condition |
int |
getConditionState()
Gets the Metadata State of Condition |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setCondition(java.lang.String inCondition)
Sets the Condition value and sets the state to MetadataState.LOCAL. |
void |
setCondition(java.lang.String inCondition,
int state)
Sets the Condition Metadata State. |
void |
setConditionState(int state)
Sets the Metadata State of Condition . |
Methods inherited from interface com.sas.metadata.remote.StepPrecedence |
---|
getPredecessors, getPredecessors, getSuccessors, getSuccessors, setPredecessors, setPredecessors, setSuccessors, setSuccessors |
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_CONDITION_NAME
Condition: The condition that must be met in order to continue with the succeeding steps. The format of the condition is left up to the application.
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
initializeRequiredObjects
in interface MdObjectBaseUtil
initializeRequiredObjects
in interface Root
initializeRequiredObjects
in interface SecondaryType
initializeRequiredObjects
in interface StepPrecedence
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.void initializePredObjects() throws java.rmi.RemoteException
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface Root
initializePredObjects
in interface SecondaryType
initializePredObjects
in interface StepPrecedence
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getCondition() throws java.rmi.RemoteException
String
value of Condition
Condition
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getConditionState() throws java.rmi.RemoteException
Condition
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getConditionMaxLength() throws java.rmi.RemoteException
Condition
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.void setCondition(java.lang.String inCondition) throws java.rmi.RemoteException
Condition
value and sets the state to MetadataState.LOCAL.
inCondition
- String
java.rmi.RemoteException
- If error communicating with remote object.void setCondition(java.lang.String inCondition, int state) throws java.rmi.RemoteException
Condition
Metadata State.
inCondition
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setConditionState(int state) throws java.rmi.RemoteException
Condition
.
state
- 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 |