|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Event
Describes a condition that occurs that drives other actions, ie. jobs, to be processed.
Attributes of Event are:
Associations of Event 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(); Event myObject = (Event) factory.createComplexMetadataObject(objectStore, "Event_Object", MetadataObjects.EVENT, "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_EVENTBROKERS_NAME
Constant used for the name of the EventBrokers association. |
static java.lang.String |
ASSOCIATION_TRIGGEREDTRANSFORMS_NAME
Constant used for the name of the TriggeredTransforms association. |
static java.lang.String |
ASSOCIATION_TRIGGERINGTRANSFORMS_NAME
Constant used for the name of the TriggeringTransforms association. |
static java.lang.String |
ATTRIBUTE_CONDITION_NAME
Constant used for the name of the Condition attribute. |
static java.lang.String |
ATTRIBUTE_EVENTROLE_NAME
Constant used for the name of the EventRole 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 |
getCondition()
Gets the String value of Condition |
int |
getConditionMaxLength()
Gets the maximum length of Condition |
int |
getConditionState()
Gets the Metadata State of Condition |
AssociationList |
getEventBrokers()
Gets the AssociationList of EventBrokers |
AssociationList |
getEventBrokers(boolean fGoToServer)
Gets the Associationlist of EventBrokers |
java.lang.String |
getEventRole()
Gets the String value of EventRole |
int |
getEventRoleMaxLength()
Gets the maximum length of EventRole |
int |
getEventRoleState()
Gets the Metadata State of EventRole |
AssociationList |
getTriggeredTransforms()
Gets the AssociationList of TriggeredTransforms |
AssociationList |
getTriggeredTransforms(boolean fGoToServer)
Gets the Associationlist of TriggeredTransforms |
AssociationList |
getTriggeringTransforms()
Gets the AssociationList of TriggeringTransforms |
AssociationList |
getTriggeringTransforms(boolean fGoToServer)
Gets the Associationlist of TriggeringTransforms |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: EventBrokers TriggeredTransforms TriggeringTransforms |
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 . |
void |
setEventBrokers(AssociationList list)
Sets the EventBrokers list to be list . |
void |
setEventBrokers(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
void |
setEventRole(java.lang.String inEventRole)
Sets the EventRole value and sets the state to MetadataState.LOCAL. |
void |
setEventRole(java.lang.String inEventRole,
int state)
Sets the EventRole Metadata State. |
void |
setEventRoleState(int state)
Sets the Metadata State of EventRole . |
void |
setTriggeredTransforms(AssociationList list)
Sets the TriggeredTransforms list to be list . |
void |
setTriggeredTransforms(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
void |
setTriggeringTransforms(AssociationList list)
Sets the TriggeringTransforms list to be list . |
void |
setTriggeringTransforms(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
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_CONDITION_NAME
Condition: Indicates what condition the triggering transformation must meet to be considered (success, failure, warnings, etc.)
static final java.lang.String ATTRIBUTE_EVENTROLE_NAME
EventRole: Internal or External
static final java.lang.String ASSOCIATION_EVENTBROKERS_NAME
EventBrokers: The event brokers for this set of events.
static final java.lang.String ASSOCIATION_TRIGGEREDTRANSFORMS_NAME
TriggeredTransforms: The transforms that are triggered by this event.
static final java.lang.String ASSOCIATION_TRIGGERINGTRANSFORMS_NAME
TriggeringTransforms: The transforms that trigger these events.
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
EventBrokers
TriggeredTransforms
TriggeringTransforms
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 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.java.lang.String getEventRole() throws java.rmi.RemoteException
String
value of EventRole
EventRole
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getEventRoleState() throws java.rmi.RemoteException
EventRole
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getEventRoleMaxLength() throws java.rmi.RemoteException
EventRole
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getEventBrokers() throws java.rmi.RemoteException, MdException
EventBrokers
EventBrokers
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 getTriggeredTransforms() throws java.rmi.RemoteException, MdException
TriggeredTransforms
TriggeredTransforms
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 getTriggeringTransforms() throws java.rmi.RemoteException, MdException
TriggeringTransforms
TriggeringTransforms
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 getEventBrokers(boolean fGoToServer) throws java.rmi.RemoteException, MdException
EventBrokers
fGoToServer
- boolean Get the value from the server.
EventBrokers
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 getTriggeredTransforms(boolean fGoToServer) throws java.rmi.RemoteException, MdException
TriggeredTransforms
fGoToServer
- boolean Get the value from the server.
TriggeredTransforms
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 getTriggeringTransforms(boolean fGoToServer) throws java.rmi.RemoteException, MdException
TriggeringTransforms
fGoToServer
- boolean Get the value from the server.
TriggeringTransforms
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 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.void setEventRole(java.lang.String inEventRole) throws java.rmi.RemoteException
EventRole
value and sets the state to MetadataState.LOCAL.
inEventRole
- String
java.rmi.RemoteException
- If error communicating with remote object.void setEventRole(java.lang.String inEventRole, int state) throws java.rmi.RemoteException
EventRole
Metadata State.
inEventRole
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setEventRoleState(int state) throws java.rmi.RemoteException
EventRole
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setEventBrokers(AssociationList list) throws java.rmi.RemoteException
EventBrokers
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setEventBrokers(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setTriggeredTransforms(AssociationList list) throws java.rmi.RemoteException
TriggeredTransforms
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setTriggeredTransforms(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setTriggeringTransforms(AssociationList list) throws java.rmi.RemoteException
TriggeringTransforms
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setTriggeringTransforms(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 |