Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1)

E10689-01


oracle.wsm.policy.model.impl
Class ScenarioAssertion

java.lang.Object
  extended by oracle.wsm.policy.model.impl.SimpleAssertion
      extended by oracle.wsm.policy.model.impl.ScenarioAssertion

All Implemented Interfaces:
Serializable, IAssertionAdvertiser, IAssertion, IScenarioAssertion, ISimpleAssertion, ISimpleOracleAssertion, IDeSerializer, ISerializer
Direct Known Subclasses:
SecurityScenario

public abstract class ScenarioAssertion
extends SimpleAssertion
implements IScenarioAssertion, ISerializer, IDeSerializer
See Also:
Serialized Form

Nested Class Summary

 

Nested classes/interfaces inherited from interface oracle.wsm.policy.model.IAssertion
IAssertion.AssertionTypes

 

Field Summary

 

Fields inherited from interface oracle.wsm.policy.model.ISimpleAssertion
attachToAttrQName, categoryAttrQName, descAttrQName, enforcedAttrQName, NameAttrQName, optionalAttrQName, silentAttrQName, StageAttrQName, statusAttrQName

 

Constructor Summary
  ScenarioAssertion(QName qname)
           
  ScenarioAssertion(QName qname, int type)
           
  ScenarioAssertion(QName qname, Object value)
           
protected ScenarioAssertion(QName qname, Object value, int type)
           

 

Method Summary
abstract  IAssertion createInstance(QName qname)
          Creates the appropriate assertion instance NOTE: The base implementation must be overriden by the subclasses!
abstract  IAssertion createInstance(QName qname, boolean setExtensions)
           
 boolean equals(Object obj)
          Compares the Assertionlist of two policies .It ignores the order of the Assertions.
 int hashCode()
          Returns an integer value which is uniquely identifies an object of this class.
 boolean isIdentical(Object obj)
          It is same as equals method except it emphasizes on the order, while equlas doesn't.
 Object parse(Element element, ParseContext ctx)
           
 void setPolicyAttributes(Element element, ScenarioAssertion assertion)
           
 String toString()
          Returns the assertion list of a policy as a string
 void write(Object obj, MarshalContext ctx)
           

 

Methods inherited from class oracle.wsm.policy.model.impl.SimpleAssertion
addAttribute, advertiseOracleWSPolicy, advertiseWSPolicy, cloneAttrs, getAssertionType, getAttachTo, getAttribute, getAttributes, getBindings, getCategory, getCopyOfAssertion, getDescription, getDescription, getDigest, getDigest, getDigestForAttrs, getGuard, getName, getParent, getQName, getStringForMatching, getStrValue, getUniquePathToAssertion, getWSPolicy15QName, getWSPolicy2006QName, hasBindings, hasGuard, hasParent, intersect, intersect, isEnforced, isIncludedInDigestCalculation, isNormalized, isOptional, isSilent, merge, merge, normalize, normalize, removeAttribute, removeAttrsForOracleWSPolicyAdvertisement, removeAttrsForWSPolicyAdvertisement, removeBindings, removeGuard, setAttachTo, setAttribute, setAttributes, setBindings, setCategory, setDefaultValues, setDescription, setEnforced, setGuard, setName, setNormalized, setOptional, setParent, setSilent, setStrValue, validate

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait

 

Methods inherited from interface oracle.wsm.policy.model.IScenarioAssertion
fromXML, getAssertionObject, getDigestForAssertionObject, setAssertionObject, toXML

 

Methods inherited from interface oracle.wsm.policy.model.IAssertion
addAttribute, getAssertionType, getAttribute, getAttributes, getDigest, getDigest, getParent, getQName, getStringForMatching, hasParent, intersect, intersect, isNormalized, isOptional, merge, merge, normalize, normalize, removeAttribute, setAttributes, setNormalized, setOptional, setParent, validate

 

Methods inherited from interface oracle.wsm.policy.model.ISimpleOracleAssertion
getAttachTo, getBindings, getCategory, getDescription, getDescription, getGuard, getName, hasBindings, hasGuard, isEnforced, isSilent, removeBindings, removeGuard, setAttachTo, setBindings, setCategory, setDescription, setEnforced, setGuard, setName, setSilent

 

Methods inherited from interface oracle.wsm.policy.advertisement.IAssertionAdvertiser
advertiseOracleWSPolicy, advertiseWSPolicy

 

Constructor Detail

ScenarioAssertion

protected ScenarioAssertion(QName qname,
                            Object value,
                            int type)

ScenarioAssertion

public ScenarioAssertion(QName qname,
                         int type)

ScenarioAssertion

public ScenarioAssertion(QName qname)

ScenarioAssertion

public ScenarioAssertion(QName qname,
                         Object value)

Method Detail

createInstance

public abstract IAssertion createInstance(QName qname)
Description copied from interface: IAssertion
Creates the appropriate assertion instance NOTE: The base implementation must be overriden by the subclasses!
Specified by:
createInstance in interface IAssertion
Overrides:
createInstance in class SimpleAssertion
Returns:

createInstance

public abstract IAssertion createInstance(QName qname,
                                          boolean setExtensions)
Overrides:
createInstance in class SimpleAssertion

setPolicyAttributes

public void setPolicyAttributes(Element element,
                                ScenarioAssertion assertion)

parse

public Object parse(Element element,
                    ParseContext ctx)
             throws PolicyParseFailedException
Specified by:
parse in interface IDeSerializer
Throws:
PolicyParseFailedException

write

public void write(Object obj,
                  MarshalContext ctx)
           throws PolicySerializationFailedException
Specified by:
write in interface ISerializer
Throws:
PolicySerializationFailedException

equals

public boolean equals(Object obj)
Compares the Assertionlist of two policies .It ignores the order of the Assertions.
Overrides:
equals in class SimpleAssertion

isIdentical

public boolean isIdentical(Object obj)
It is same as equals method except it emphasizes on the order, while equlas doesn't.
Specified by:
isIdentical in interface IAssertion
Overrides:
isIdentical in class SimpleAssertion

toString

public String toString()
Returns the assertion list of a policy as a string
Overrides:
toString in class SimpleAssertion

hashCode

public int hashCode()
Returns an integer value which is uniquely identifies an object of this class.
Overrides:
hashCode in class SimpleAssertion

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1)

E10689-01


Copyright © 2007, 2009, Oracle and/or its affiliates. All rights reserved.