org.eclipse.actf.validation.rulebase
Interface IRuleBaseMetadata

All Known Subinterfaces:
IDocumentRuleBaseMetadata
All Known Implementing Classes:
ValidationDocumentRuleBaseMetadata

public interface IRuleBaseMetadata

implement to associate metadata with a rulebase

Author:
John Buslawski

Method Summary
 void clear()
          clear all attributes from this metadata object
 Object getAttribute(String name)
           
 String[] getAttributeNames()
          get all attribute names of this metadata object
 Map getAttributes()
          return the attributes of this metadata object
 void setAttribute(String name, Object value)
           
 void setAttributes(Map attributes)
          set the attributes for this metadata object
 int size()
           
 

Method Detail

getAttribute

Object getAttribute(String name)
Parameters:
name - of metadata attribute
Returns:
value of metadata attribute or null if no name is specified

setAttribute

void setAttribute(String name,
                  Object value)
Parameters:
name - of metadata attribute
value - of metadata attribute

getAttributeNames

String[] getAttributeNames()
get all attribute names of this metadata object

Returns:
attribute names or empty array if this metadata object is empty

getAttributes

Map getAttributes()
return the attributes of this metadata object

Returns:
all attributes of this metadata object

setAttributes

void setAttributes(Map attributes)
set the attributes for this metadata object

Parameters:
attributes -

clear

void clear()
clear all attributes from this metadata object


size

int size()