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 Config

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

All Implemented Interfaces:
Serializable, IConfig

public class Config
extends Object
implements IConfig
See Also:
Serialized Form

Nested Class Summary

 

Nested classes/interfaces inherited from interface oracle.wsm.policy.model.IConfig
IConfig.CONFIG_TYPE_ENUM

 

Field Summary

 

Fields inherited from interface oracle.wsm.policy.model.IConfig
categoryAttrQName, configTypeAttrQName, nameAttrQName

 

Constructor Summary
Config()
           

 

Method Summary
 void addPropertySet(IPropertySet propSet)
          Add a PropertySet
 boolean equals(Object obj)
          Compares the propertySets of two configs .It ignores the order.
 Map<QName,String> getAttributes()
           
 String getCategory()
          Convenience method to retrieve the category of the Config.
 IConfig.CONFIG_TYPE_ENUM getConfigType()
          Get config type
 String getName()
          Convenience method to retrieve the name of the Config.
 List<IProperty> getProperties()
          Convenience method to get all the Properties defined in the Property Sets in a single call.
 List<IPropertySet> getPropertySets()
          Returns a List of PropertySets.
 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 removePropertySet(IPropertySet propSet)
          Remove a PropertySet
 void setAttributes(Map<QName,String> attributes)
           
 void setCategory(String category)
          Adding convenience method - instead of using setAttributes().
 void setConfigType(IConfig.CONFIG_TYPE_ENUM configType)
          Set the config type attribute - default is declarative
 void setName(String configName)
          Adding convenience method - instead of using setAttributes().
 void setPropertySets(List<IPropertySet> props)
          Sets a List of PropertySets.
 String toString()
          Returns the assertion list of a policy as a string
 void validate(IValidationContext context)
          Validate this config object

 

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

 

Constructor Detail

Config

public Config()

Method Detail

getAttributes

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

setAttributes

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

getPropertySets

public List<IPropertySet> getPropertySets()
Description copied from interface: IConfig
Returns a List of PropertySets.
Specified by:
getPropertySets in interface IConfig

getProperties

public List<IProperty> getProperties()
Description copied from interface: IConfig
Convenience method to get all the Properties defined in the Property Sets in a single call. Returns the list of Properties. Iterates over all the Policy Sets and accumulates the Properties.
Specified by:
getProperties in interface IConfig

setPropertySets

public void setPropertySets(List<IPropertySet> props)
Description copied from interface: IConfig
Sets a List of PropertySets.
Specified by:
setPropertySets in interface IConfig

addPropertySet

public void addPropertySet(IPropertySet propSet)
Description copied from interface: IConfig
Add a PropertySet
Specified by:
addPropertySet in interface IConfig

removePropertySet

public void removePropertySet(IPropertySet propSet)
Description copied from interface: IConfig
Remove a PropertySet
Specified by:
removePropertySet in interface IConfig

getCategory

public String getCategory()
Description copied from interface: IConfig
Convenience method to retrieve the category of the Config. Returns the same result as getAttributes().get(categoryAttrQName);
Specified by:
getCategory in interface IConfig
Returns:

getName

public String getName()
Description copied from interface: IConfig
Convenience method to retrieve the name of the Config. Returns the same result as getAttributes().get(nameAttrQName);
Specified by:
getName in interface IConfig
Returns:

setName

public void setName(String configName)
Adding convenience method - instead of using setAttributes().
Specified by:
setName in interface IConfig
Parameters:
configName - - name of the Config

setCategory

public void setCategory(String category)
Adding convenience method - instead of using setAttributes().
Specified by:
setCategory in interface IConfig
Parameters:
category - - category of the Config

equals

public boolean equals(Object obj)
Compares the propertySets of two configs .It ignores the order.
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.

hashCode

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

toString

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

validate

public void validate(IValidationContext context)
Description copied from interface: IConfig
Validate this config object
Specified by:
validate in interface IConfig
Parameters:
context - ValidationContext to which any errors are reported

getConfigType

public IConfig.CONFIG_TYPE_ENUM getConfigType()
Get config type
Specified by:
getConfigType in interface IConfig

setConfigType

public void setConfigType(IConfig.CONFIG_TYPE_ENUM configType)
Set the config type attribute - default is declarative
Specified by:
setConfigType in interface IConfig

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.