|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface Condition
A condition that when met may activate an action or set of actions.
Attributes of Condition are:
Associations of Condition 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(); Condition myObject = (Condition) factory.createComplexMetadataObject(objectStore, "Condition_Object", MetadataObjects.CONDITION, "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_CONDITIONTYPE_NAME
Constant used for the name of the ConditionType attribute. |
static java.lang.String |
ATTRIBUTE_INSTANCEVERSION_NAME
Constant used for the name of the InstanceVersion attribute. |
static java.lang.String |
ATTRIBUTE_ISACTIVE_NAME
Constant used for the name of the IsActive 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 | |
|---|---|
abstract AssociationList |
getConditionActionSets()
Gets the AssociationList of ConditionActionSets |
abstract AssociationList |
getConditionActionSets(boolean fGoToServer)
Gets the Associationlist of ConditionActionSets |
abstract java.lang.String |
getConditionType()
Gets the String value of ConditionType |
abstract int |
getConditionTypeMaxLength()
Gets the maximum length of ConditionType |
abstract int |
getConditionTypeState()
Gets the Metadata State of ConditionType |
abstract int |
getInstanceVersion()
Gets the int value of InstanceVersion |
abstract int |
getInstanceVersionState()
Gets the Metadata State of InstanceVersion |
abstract int |
getIsActive()
Gets the int value of IsActive |
abstract int |
getIsActiveState()
Gets the Metadata State of IsActive |
abstract java.lang.String |
getUniqueIdentifier()
Gets the String value of UniqueIdentifier |
abstract int |
getUniqueIdentifierMaxLength()
Gets the maximum length of UniqueIdentifier |
abstract int |
getUniqueIdentifierState()
Gets the Metadata State of UniqueIdentifier |
abstract void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: ConditionActionSets |
abstract void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
abstract void |
setConditionActionSets(AssociationList list)
Sets the ConditionActionSets list to be list. |
abstract void |
setConditionActionSets(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
abstract void |
setConditionType(java.lang.String inConditionType)
Sets the ConditionType value and sets the state to MetadataState.LOCAL. |
abstract void |
setConditionType(java.lang.String inConditionType,
int state)
Sets the ConditionType Metadata State. |
abstract void |
setConditionTypeState(int state)
Sets the Metadata State of ConditionType. |
abstract void |
setInstanceVersion(int inInstanceVersion)
Sets the InstanceVersion value and sets the state to MetadataState.LOCAL. |
abstract void |
setInstanceVersion(int inInstanceVersion,
int state)
Sets the InstanceVersion Metadata State. |
abstract void |
setInstanceVersion(java.lang.String inInstanceVersion)
Sets the InstanceVersion value and sets the state to MetadataState.LOCAL. |
abstract void |
setInstanceVersion(java.lang.String inInstanceVersion,
int state)
Sets the InstanceVersion value and Metadata State. |
abstract void |
setInstanceVersionState(int state)
Sets the Metadata State of InstanceVersion. |
abstract void |
setIsActive(int inIsActive)
Sets the IsActive value and sets the state to MetadataState.LOCAL. |
abstract void |
setIsActive(int inIsActive,
int state)
Sets the IsActive Metadata State. |
abstract void |
setIsActive(java.lang.String inIsActive)
Sets the IsActive value and sets the state to MetadataState.LOCAL. |
abstract void |
setIsActive(java.lang.String inIsActive,
int state)
Sets the IsActive value and Metadata State. |
abstract void |
setIsActiveState(int state)
Sets the Metadata State of IsActive. |
abstract void |
setUniqueIdentifier(java.lang.String inUniqueIdentifier)
Sets the UniqueIdentifier value and sets the state to MetadataState.LOCAL. |
abstract void |
setUniqueIdentifier(java.lang.String inUniqueIdentifier,
int state)
Sets the UniqueIdentifier Metadata State. |
abstract 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 condition.
static final java.lang.String ATTRIBUTE_CONDITIONTYPE_NAME
ConditionType: The type for this condition action set.
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 ATTRIBUTE_ISACTIVE_NAME
IsActive: Is this condition action set active.
static final java.lang.String ASSOCIATION_CONDITIONACTIONSETS_NAME
ConditionActionSets: The condition action sets that contain this condition.
| Method Detail |
|---|
void initializeRequiredObjects()
throws java.rmi.RemoteException
initializeRequiredObjects in interface MdObjectBaseUtilinitializeRequiredObjects in interface PrimaryTypeinitializeRequiredObjects in interface Rootjava.rmi.RemoteException - If error connecting/communicating to/with remote object.
void initializePredObjects()
throws java.rmi.RemoteException
ConditionActionSets
initializePredObjects in interface MdObjectBaseinitializePredObjects in interface PrimaryTypeinitializePredObjects in interface Rootjava.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 getConditionType()
throws java.rmi.RemoteException
String value of ConditionType
ConditionType
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getConditionTypeState()
throws java.rmi.RemoteException
ConditionType
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getConditionTypeMaxLength()
throws java.rmi.RemoteException
ConditionType
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.
int getIsActive()
throws java.rmi.RemoteException
int value of IsActive
IsActive
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getIsActiveState()
throws java.rmi.RemoteException
IsActive
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 setConditionType(java.lang.String inConditionType)
throws java.rmi.RemoteException
ConditionType value and sets the state to MetadataState.LOCAL.
inConditionType - String
java.rmi.RemoteException - If error communicating with remote object.
void setConditionType(java.lang.String inConditionType,
int state)
throws java.rmi.RemoteException
ConditionType Metadata State.
inConditionType - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setConditionTypeState(int state)
throws java.rmi.RemoteException
ConditionType.
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 setIsActive(int inIsActive)
throws java.rmi.RemoteException
IsActive value and sets the state to MetadataState.LOCAL.
inIsActive - int
java.rmi.RemoteException - If error communicating with remote object.
void setIsActive(int inIsActive,
int state)
throws java.rmi.RemoteException
IsActive Metadata State.
inIsActive - intstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setIsActive(java.lang.String inIsActive)
throws java.rmi.RemoteException
IsActive value and sets the state to MetadataState.LOCAL.
inIsActive - String
java.rmi.RemoteException - If error communicating with remote object.
void setIsActive(java.lang.String inIsActive,
int state)
throws java.rmi.RemoteException
IsActive value and Metadata State.
inIsActive - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setIsActiveState(int state)
throws java.rmi.RemoteException
IsActive.
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 | |||||||||||||