|
Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager 11g (11.1.1) E10689-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.wsm.policy.model.impl.PropertySet
public class PropertySet
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 |
---|
public PropertySet()
Method Detail |
---|
public Map<QName,String> getAttributes()
getAttributes
in interface IPropertySet
public void setAttributes(Map<QName,String> attributes)
setAttributes
in interface IPropertySet
public List<IProperty> getProperties()
IPropertySet
getProperties
in interface IPropertySet
public IProperty getPropertyByName(String propName)
getPropertyByName
in interface IPropertySet
propName
- - if null or empty - returns nullpublic void setProperties(List<IProperty> props)
IPropertySet
setProperties
in interface IPropertySet
public void addProperty(IProperty property)
IPropertySet
addProperty
in interface IPropertySet
public void validate(IValidationContext context)
IPropertySet
validate
in interface IPropertySet
context
- ValidationContext to which any errors are reportedpublic void addProperty(String propertyName, String propertyType, String propertyDesc, String propertyValue, String propertyDefaultValue)
addProperty
in interface IPropertySet
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 propertypropertyDefaultValue
- - default value for the propertypublic void removeProperty(IProperty property)
IPropertySet
removeProperty
in interface IPropertySet
public void setName(String propertySetName)
IPropertySet
setName
in interface IPropertySet
public String getName()
IPropertySet
getName
in interface IPropertySet
public boolean equals(Object obj)
equals
in class Object
public boolean isIdentical(Object obj)
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
|
Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager 11g (11.1.1) E10689-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |