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 PropertySet

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

All Implemented Interfaces:
Serializable, IPropertySet

public class PropertySet
extends Object
implements IPropertySet
See Also:
Serialized Form

Field Summary

 

Fields inherited from interface oracle.wsm.policy.model.IPropertySet
nameAttrQName

 

Constructor Summary
PropertySet()
           

 

Method Summary
 void addProperty(IProperty property)
          Add a Property
 void addProperty(String propertyName, String propertyType, String propertyDesc, String propertyValue, String propertyDefaultValue)
          Create and Add a Property to the PropertySet!
 boolean equals(Object obj)
          Compares the Assertionlist of two policies .It ignores the order of the Assertions.
 Map<QName,String> getAttributes()
           
 String getName()
          Returns the name of the property set.
 List<IProperty> getProperties()
          Returns a List of Property.
 IProperty getPropertyByName(String propName)
          Returns a property by name.
 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 removeProperty(IProperty property)
          Remove a Property
 void setAttributes(Map<QName,String> attributes)
           
 void setName(String propertySetName)
          Sets the name of the PropertySet.
 void setProperties(List<IProperty> props)
          Sets a List of Property.
 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

PropertySet

public PropertySet()

Method Detail

getAttributes

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

setAttributes

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

getProperties

public List<IProperty> getProperties()
Description copied from interface: IPropertySet
Returns a List of Property.
Specified by:
getProperties in interface IPropertySet

getPropertyByName

public IProperty getPropertyByName(String propName)
Returns a property by name. Will return null if a property cannot be found in the property set.
Specified by:
getPropertyByName in interface IPropertySet
Parameters:
propName - - if null or empty - returns null
Returns:
IProperty

setProperties

public void setProperties(List<IProperty> props)
Description copied from interface: IPropertySet
Sets a List of Property.
Specified by:
setProperties in interface IPropertySet

addProperty

public void addProperty(IProperty property)
Description copied from interface: IPropertySet
Add a Property
Specified by:
addProperty in interface IPropertySet

validate

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

addProperty

public void addProperty(String propertyName,
                        String propertyType,
                        String propertyDesc,
                        String propertyValue,
                        String propertyDefaultValue)
Create and Add a Property to the PropertySet!
Specified by:
addProperty in interface IPropertySet
Parameters:
propertyName - - name of the property to add - required (cannot be null or empty)
propertyType - - type of the property - required (cannot be null or empty)
propertyValue - - value of the property
propertyDefaultValue - - default value for the property

removeProperty

public void removeProperty(IProperty property)
Description copied from interface: IPropertySet
Remove a Property
Specified by:
removeProperty in interface IPropertySet

setName

public void setName(String propertySetName)
Description copied from interface: IPropertySet
Sets the name of the PropertySet.
Specified by:
setName in interface IPropertySet

getName

public String getName()
Description copied from interface: IPropertySet
Returns the name of the property set. Used to identify a PropertySet.
Specified by:
getName in interface IPropertySet
Returns:

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

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.