|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.waveset.object.PersistentObject
com.waveset.object.ComplianceViolation
A class used to represent Audit policies.
Nested Class Summary |
Nested classes inherited from class com.waveset.object.PersistentObject |
PersistentObject.Comparator, PersistentObject.InitialInstance |
Field Summary | |
static java.lang.String |
code_id
|
Fields inherited from class com.waveset.object.PersistentObject |
_trace, trace |
Constructor Summary | |
ComplianceViolation()
Create an empty policy ready for filling. |
|
ComplianceViolation(org.w3c.dom.Element e)
Flesh out policy object by parsing its XML representation. |
Method Summary | |
protected void |
addSubclassAttributes(java.lang.StringBuffer b)
Each concrete subclass may append to the buffer an XML representation of any fields it adds to PersistentObject (if those field values must persist). |
protected void |
addSubclassElements(java.lang.StringBuffer b)
Each concrete subclass may append to the buffer an XML representation of any fields it adds to PersistentObject (if those field values must persist). |
protected WSAttribute |
getAttributeValues(java.lang.String attrName)
|
ObjectRef |
getAuditPolicyRef()
|
java.lang.String |
getComment()
|
java.lang.String |
getDescription()
|
java.util.Date |
getExpirationDate()
|
java.lang.Object |
getExtendedResult(java.lang.String key)
|
java.util.Map |
getExtendedResults()
|
java.util.Date |
getRemediationDate()
|
ObjectRef |
getRemediatorRef()
|
ObjectRef |
getResourceRef()
|
ObjectRef |
getRuleRef()
|
java.lang.String |
getTrackingId()
Get the optional tracking id. |
Type |
getType()
Returns the associated Type object. |
java.lang.String |
getUserEntitlementId()
Get the ID for the related UserEntitlement record. |
ObjectRef |
getUserRef()
|
int |
getViolationCount()
|
java.lang.String |
getViolationState()
|
java.util.List |
listQueryableAttributes()
|
java.util.List |
listSummaryAttributes()
Returns the complete list of defined attributes
that this type of persistent object exposes as summary attributes
(regardless of whether this particular object has a value for each). |
protected void |
parseSubclassAttributes(org.w3c.dom.Element e)
Each concrete subclass should parse from the XML buffer any persisted subclass-specific fields (generally, the same ones that it writes into the buffer). |
protected void |
parseSubclassElements(org.w3c.dom.Element e)
Each concrete subclass should parse from the XML buffer any persisted subclass-specific elements (generally, the same ones that it writes into the buffer). |
void |
setAuditPolicyRef(ObjectRef ref)
|
void |
setComment(java.lang.String comment)
|
void |
setDescription(java.lang.String description)
|
void |
setExpirationDate(java.util.Date expiration)
|
void |
setExtendedResults(java.util.Map results)
|
void |
setRemediationDate(java.util.Date remediationDate)
|
void |
setRemediatorRef(ObjectRef ref)
|
void |
setResourceRef(ObjectRef ref)
|
void |
setRuleRef(ObjectRef ref)
|
void |
setTrackingId(java.lang.String id)
Set an optional tracking ID. |
void |
setUserEntitlementId(java.lang.String id)
Set the ID for the related UserEntitlement record. |
void |
setUserRef(ObjectRef ref)
|
void |
setViolationCount(int count)
|
void |
setViolationState(java.lang.String violationState)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String code_id
Constructor Detail |
public ComplianceViolation()
public ComplianceViolation(org.w3c.dom.Element e) throws WavesetException
Method Detail |
public Type getType()
getType
in class PersistentObject
public java.lang.String getComment()
public void setComment(java.lang.String comment)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public ObjectRef getResourceRef()
public void setResourceRef(ObjectRef ref)
public ObjectRef getUserRef()
public void setUserRef(ObjectRef ref)
public java.lang.String getViolationState()
public void setViolationState(java.lang.String violationState)
public ObjectRef getRemediatorRef()
public void setRemediatorRef(ObjectRef ref)
public ObjectRef getAuditPolicyRef()
public void setAuditPolicyRef(ObjectRef ref)
public java.util.Date getExpirationDate()
public void setExpirationDate(java.util.Date expiration)
public java.util.Date getRemediationDate()
public void setRemediationDate(java.util.Date remediationDate)
public ObjectRef getRuleRef()
public void setRuleRef(ObjectRef ref)
public int getViolationCount()
public void setViolationCount(int count)
public java.util.Map getExtendedResults()
public java.lang.Object getExtendedResult(java.lang.String key)
public void setTrackingId(java.lang.String id)
public java.lang.String getTrackingId()
public void setUserEntitlementId(java.lang.String id)
public java.lang.String getUserEntitlementId()
public void setExtendedResults(java.util.Map results)
public java.util.List listQueryableAttributes()
listQueryableAttributes
in class PersistentObject
defined attributes
that this type of persistent object exposes as queryable attributes
(regardless of whether this particular object has a value for each).
Any subclass of PersistentObject that overrides this method
should first invoke super.listQueryableAttributes()
to ensure that the subclass includes queryable attributes
that are common to all PersistentObjects.
public java.util.List listSummaryAttributes()
PersistentObject
defined attributes
that this type of persistent object exposes as summary attributes
(regardless of whether this particular object has a value for each).
Any subclass of PersistentObject that overrides this method
should first invoke super.listSummaryAttributes()
to ensure that the subclass includes summary attributes
that are common to all PersistentObjects.
Any subclass that overrides this implementation must also consider the length of the summary string that will be generated from these attributes.
listSummaryAttributes
in class PersistentObject
defined attributes
that this type of persistent object exposes as summary attributes
(regardless of whether this particular object has a value for each).
Any subclass of PersistentObject that overrides this method
should first invoke super.listSummaryAttributes()
to ensure that the subclass includes summary attributes
that are common to all PersistentObjects.
Constants.MAX_SUMMARY_STRING_LENGTH
,
PersistentObject.getSummaryString()
protected WSAttribute getAttributeValues(java.lang.String attrName)
getAttributeValues
in class PersistentObject
attrName
- - the name of the attribute for which to return values.
WSAttribute
that represents the value (or values)
that this object contains for the specified attribute
.
protected void addSubclassAttributes(java.lang.StringBuffer b)
PersistentObject
NOTE: Any subclass that overrides this method must similarly override parseSubclassAttributes() so that the subclass attributes are restored.
addSubclassAttributes
in class PersistentObject
protected void addSubclassElements(java.lang.StringBuffer b)
PersistentObject
NOTE: Any subclass that overrides this method must similarly override parseSubclassElements() so that the subclass elements are restored.
addSubclassElements
in class PersistentObject
protected void parseSubclassAttributes(org.w3c.dom.Element e) throws WavesetException
PersistentObject
parseSubclassAttributes
in class PersistentObject
WavesetException
PersistentObject's default implementation is a no-op.
,
PersistentObject.parseXml(Element)
protected void parseSubclassElements(org.w3c.dom.Element e) throws WavesetException
PersistentObject
parseSubclassElements
in class PersistentObject
WavesetException
PersistentObject's default implementation is a no-op.
,
PersistentObject.parseXml(Element)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |