public interface IConfig extends Serializable
Modifier and Type | Interface and Description |
---|---|
static class |
IConfig.CONFIG_TYPE_ENUM |
Modifier and Type | Field and Description |
---|---|
static QName |
categoryAttrQName |
static QName |
configTypeAttrQName |
static QName |
nameAttrQName |
Modifier and Type | Method and Description |
---|---|
void |
addPropertySet(IPropertySet propSet)
Add a PropertySet
|
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.
|
void |
removePropertySet(IPropertySet propSet)
Remove a PropertySet
|
void |
setAttributes(Map<QName,String> attrs) |
void |
setCategory(String category)
Convenience method to set the category of the Config.
|
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> propertySets)
Sets a List of PropertySets.
|
void |
validate(oracle.wsm.policy.validation.IValidationContext context)
Validate this config object
|
static final QName nameAttrQName
static final QName categoryAttrQName
static final QName configTypeAttrQName
void addPropertySet(IPropertySet propSet)
String getCategory()
IConfig.CONFIG_TYPE_ENUM getConfigType()
String getName()
List<IProperty> getProperties()
List<IPropertySet> getPropertySets()
void removePropertySet(IPropertySet propSet)
void setCategory(String category)
void setConfigType(IConfig.CONFIG_TYPE_ENUM configType)
void setName(String configName)
configName
- - name of the Configvoid setPropertySets(List<IPropertySet> propertySets)
void validate(oracle.wsm.policy.validation.IValidationContext context)
context
- ValidationContext to which any errors are reported