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 AssertionTemplate

java.lang.Object
  extended by oracle.wsm.policy.model.impl.AssertionTemplate

All Implemented Interfaces:
Serializable, IAssertionTemplate

public class AssertionTemplate
extends Object
implements IAssertionTemplate
See Also:
Serialized Form

Field Summary

 

Fields inherited from interface oracle.wsm.policy.model.IAssertionTemplate
nameAttrQName, templateIdAttrQName

 

Constructor Summary
AssertionTemplate()
           

 

Method Summary
 boolean equals(Object obj)
          Compares the Assertionlist of two policies .It ignores the order of the Assertions.
 IAssertion getAssertion()
           
 String getAttachTo()
          Return attachTo of the AssertionTemplate
 Map<QName,String> getAttributes()
           
 String getCategory()
          Return the category of the assertion template.
 String getDescription()
          Returns the description of the assertion template
 String getDescription(Locale locale)
          Convenience method to retrive localized orawsp:description attribute on a <wsp:Policy> element.
 String getDisplayName()
          Convenience method to retrive the orawsp:displayName attribute on a <wsp:Policy> element.
 String getDisplayName(Locale locale)
          Convenience method to retrive localized orawsp:displayName attribute on a <wsp:Policy> element.
 String getName()
           
 String getTemplateId()
           
 IVersionInfo getVersionInfo()
           
 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.
 void setAssertion(IAssertion ia)
           
 void setAttachTo(String attachToVal)
          Set the attachTo of the AssertionTemplate
 void setAttributes(Map<QName,String> attrs)
           
 void setCategory(String category)
          Set the cateogry for assertion template.
 void setDescription(String description)
          Set the description of the assertion template
 void setDisplayName(String displayName)
          Convenience method to set the orawsp:displayName attribute on a <wsp:Policy> element.
 void setName(String templateName)
           
 void setTemplateId(String templateId)
           
 void setVersionInfo(IVersionInfo info)
           
 String toString()
          Returns the assertion list of a policy as a string
 void validate(IValidationContext context)
          Validate the Assertion Template If any errors are found, they are added to the passed Validation Context object

 

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

 

Constructor Detail

AssertionTemplate

public AssertionTemplate()

Method Detail

setAssertion

public void setAssertion(IAssertion ia)
Specified by:
setAssertion in interface IAssertionTemplate

getAssertion

public IAssertion getAssertion()
Specified by:
getAssertion in interface IAssertionTemplate

setAttributes

public void setAttributes(Map<QName,String> attrs)
Specified by:
setAttributes in interface IAssertionTemplate

getAttributes

public Map<QName,String> getAttributes()
Specified by:
getAttributes in interface IAssertionTemplate

getName

public String getName()
Specified by:
getName in interface IAssertionTemplate

setName

public void setName(String templateName)
Specified by:
setName in interface IAssertionTemplate

getTemplateId

public String getTemplateId()
Specified by:
getTemplateId in interface IAssertionTemplate

setTemplateId

public void setTemplateId(String templateId)
Specified by:
setTemplateId in interface IAssertionTemplate

equals

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

isIdentical

public boolean isIdentical(Object obj)
It is same as equals method except it emphasizes on the order, while equlas doesn't.

toString

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

hashCode

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

getVersionInfo

public IVersionInfo getVersionInfo()
Specified by:
getVersionInfo in interface IAssertionTemplate

setVersionInfo

public void setVersionInfo(IVersionInfo info)
Specified by:
setVersionInfo in interface IAssertionTemplate

setCategory

public void setCategory(String category)
Description copied from interface: IAssertionTemplate
Set the cateogry for assertion template. Category for assertion templates can be security, mtom, logging, etc.
Specified by:
setCategory in interface IAssertionTemplate

getCategory

public String getCategory()
Description copied from interface: IAssertionTemplate
Return the category of the assertion template. May return null if no category is specified.
Specified by:
getCategory in interface IAssertionTemplate
Returns:
String

setDescription

public void setDescription(String description)
Description copied from interface: IAssertionTemplate
Set the description of the assertion template
Specified by:
setDescription in interface IAssertionTemplate

getDescription

public String getDescription()
Description copied from interface: IAssertionTemplate
Returns the description of the assertion template
Specified by:
getDescription in interface IAssertionTemplate
Returns:
String

getDescription

public String getDescription(Locale locale)
Description copied from interface: IAssertionTemplate
Convenience method to retrive localized orawsp:description attribute on a <wsp:Policy> element.
This will check if the description field has the above key for the provided locale. If so it will lookup the resource bundle and return the localized description.
Specified by:
getDescription in interface IAssertionTemplate

getAttachTo

public String getAttachTo()
Description copied from interface: IAssertionTemplate
Return attachTo of the AssertionTemplate
Specified by:
getAttachTo in interface IAssertionTemplate
Returns:

setAttachTo

public void setAttachTo(String attachToVal)
Description copied from interface: IAssertionTemplate
Set the attachTo of the AssertionTemplate
Specified by:
setAttachTo in interface IAssertionTemplate
Parameters:
attachToVal - set the attachTo of the assertion template

validate

public void validate(IValidationContext context)
Validate the Assertion Template If any errors are found, they are added to the passed Validation Context object
Specified by:
validate in interface IAssertionTemplate
Parameters:
context -

getDisplayName

public String getDisplayName(Locale locale)
Description copied from interface: IAssertionTemplate
Convenience method to retrive localized orawsp:displayName attribute on a <wsp:Policy> element.
This will check if the description field has the above key for the provided locale. If so it will lookup the resource bundle and return the localized description.
Specified by:
getDisplayName in interface IAssertionTemplate

getDisplayName

public String getDisplayName()
Description copied from interface: IAssertionTemplate
Convenience method to retrive the orawsp:displayName attribute on a <wsp:Policy> element.
This is equivalent to getAttributes().get(displayNameAttrQName).
Specified by:
getDisplayName in interface IAssertionTemplate

setDisplayName

public void setDisplayName(String displayName)
Description copied from interface: IAssertionTemplate
Convenience method to set the orawsp:displayName attribute on a <wsp:Policy> element.
Specified by:
setDisplayName in interface IAssertionTemplate

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.