Skip navigation links

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

E10689-01


oracle.wsm.policy.model
Interface IAssertionTemplate

All Superinterfaces:
Serializable
All Known Implementing Classes:
AssertionTemplate

public interface IAssertionTemplate
extends Serializable

Field Summary
static QName nameAttrQName
           
static QName templateIdAttrQName
           

 

Method Summary
 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()
           
 void setAssertion(IAssertion ia)
           
 void setAttachTo(String attachTo)
          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 versionInfo)
           
 void validate(IValidationContext context)
          Validate the Assertion Template If any errors are found, they are added to the passed Validation Context object

 

Field Detail

nameAttrQName

static final QName nameAttrQName

templateIdAttrQName

static final QName templateIdAttrQName

Method Detail

setAssertion

void setAssertion(IAssertion ia)

getAssertion

IAssertion getAssertion()

setAttributes

void setAttributes(Map<QName,String> attrs)

getAttributes

Map<QName,String> getAttributes()

getName

String getName()

setName

void setName(String templateName)

getTemplateId

String getTemplateId()

setTemplateId

void setTemplateId(String templateId)

setCategory

void setCategory(String category)
Set the cateogry for assertion template. Category for assertion templates can be security, mtom, logging, etc.
Parameters:
category -

getCategory

String getCategory()
Return the category of the assertion template. May return null if no category is specified.
Returns:
String

setDescription

void setDescription(String description)
Set the description of the assertion template
Parameters:
description -

getDescription

String getDescription()
Returns the description of the assertion template
Returns:
String

getDescription

String getDescription(Locale locale)
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.
Parameters:
locale -

setVersionInfo

void setVersionInfo(IVersionInfo versionInfo)

getVersionInfo

IVersionInfo getVersionInfo()

getAttachTo

String getAttachTo()
Return attachTo of the AssertionTemplate
Returns:

setAttachTo

void setAttachTo(String attachTo)
Set the attachTo of the AssertionTemplate
Parameters:
attachTo - set the attachTo of the assertion template

validate

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

getDisplayName

String getDisplayName()
Convenience method to retrive the orawsp:displayName attribute on a <wsp:Policy> element.
This is equivalent to getAttributes().get(displayNameAttrQName).

getDisplayName

String getDisplayName(Locale locale)
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.
Parameters:
locale -

setDisplayName

void setDisplayName(String displayName)
Convenience method to set the orawsp:displayName attribute on a <wsp:Policy> element.

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.