|
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 | |
---|---|
AssociationList |
getConditionActionSets()
Gets the AssociationList of ConditionActionSets |
AssociationList |
getConditionActionSets(boolean fGoToServer)
Gets the Associationlist of ConditionActionSets |
java.lang.String |
getConditionType()
Gets the String value of ConditionType |
int |
getConditionTypeMaxLength()
Gets the maximum length of ConditionType |
int |
getConditionTypeState()
Gets the Metadata State of ConditionType |
int |
getInstanceVersion()
Gets the int value of InstanceVersion |
int |
getInstanceVersionState()
Gets the Metadata State of InstanceVersion |
int |
getIsActive()
Gets the int value of IsActive |
int |
getIsActiveState()
Gets the Metadata State of IsActive |
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: ConditionActionSets |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setConditionActionSets(AssociationList list)
Sets the ConditionActionSets list to be list . |
void |
setConditionActionSets(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
void |
setConditionType(java.lang.String inConditionType)
Sets the ConditionType value and sets the state to MetadataState.LOCAL. |
void |
setConditionType(java.lang.String inConditionType,
int state)
Sets the ConditionType Metadata State. |
void |
setConditionTypeState(int state)
Sets the Metadata State of ConditionType . |
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 |
setIsActive(int inIsActive)
Sets the IsActive value and sets the state to MetadataState.LOCAL. |
void |
setIsActive(int inIsActive,
int state)
Sets the IsActive Metadata State. |
void |
setIsActive(java.lang.String inIsActive)
Sets the IsActive value and sets the state to MetadataState.LOCAL. |
void |
setIsActive(java.lang.String inIsActive,
int state)
Sets the IsActive value and Metadata State. |
void |
setIsActiveState(int state)
Sets the Metadata State of IsActive . |
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 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 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
ConditionActionSets
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 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 |