|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.csapi.jr.se.policy.PolicyEvent
This data type is a Sequence of Data Elements which describes a generic 'event'. Events can be generated in response to network activity, as a result of clients calling the generateEvent() method of IpPolicyDomain, or as a result of the evaluation of an IpPolicyEventAction action. Each instance of a generated event is identified by a unique EventID, a 32-bit integer. The time the event was generated is captured in the attribute TimeGenerated. All of the attributes in the RequiredAttributes list of the EventDefinition associated with the given EventDefinitionName must be present in Attributes. Any other attributes must be in the OptionalAttributes list of the same EventDefinition.
Constructor Summary | |
PolicyEvent()
Creates a new PolicyEvent instance. |
|
PolicyEvent(int _eventID,
java.lang.String _timeGenerated,
org.csapi.jr.se.Attribute[] _attributes,
java.lang.String _eventDefinitionName,
java.lang.String _eventDomainName)
Creates a new PolicyEvent instance. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one. |
org.csapi.jr.se.Attribute[] |
getAttributes()
This method returns a attributes. |
java.lang.String |
getEventDefinitionName()
This method returns a eventDefinitionName. |
java.lang.String |
getEventDomainName()
This method returns a eventDomainName. |
int |
getEventID()
This method returns a eventID. |
java.lang.String |
getTimeGenerated()
This method returns a timeGenerated. |
int |
hashCode()
Returns a hashcode value for the object. |
void |
setAttributes(org.csapi.jr.se.Attribute[] attributes)
This method sets a attributes. |
void |
setEventDefinitionName(java.lang.String eventDefinitionName)
This method sets a eventDefinitionName. |
void |
setEventDomainName(java.lang.String eventDomainName)
This method sets a eventDomainName. |
void |
setEventID(int eventID)
This method sets a eventID. |
void |
setTimeGenerated(java.lang.String timeGenerated)
This method sets a timeGenerated. |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PolicyEvent()
public PolicyEvent(int _eventID, java.lang.String _timeGenerated, org.csapi.jr.se.Attribute[] _attributes, java.lang.String _eventDefinitionName, java.lang.String _eventDomainName)
_eventID
- _timeGenerated
- _attributes
- _eventDefinitionName
- _eventDomainName
- Method Detail |
public int getEventID()
public java.lang.String getTimeGenerated()
public org.csapi.jr.se.Attribute[] getAttributes()
public java.lang.String getEventDefinitionName()
public java.lang.String getEventDomainName()
public void setEventID(int eventID)
public void setTimeGenerated(java.lang.String timeGenerated)
public void setAttributes(org.csapi.jr.se.Attribute[] attributes)
public void setEventDefinitionName(java.lang.String eventDefinitionName)
public void setEventDomainName(java.lang.String eventDomainName)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |