ILOG JRules

ilog.rules.ras.core.archive.wrapper
Class IlrArchiveDescriptorWrapper

java.lang.Object
  extended by ilog.rules.ras.core.archive.wrapper.IlrArchiveDescriptorWrapper

public class IlrArchiveDescriptorWrapper
extends Object

Wrapper used to describe the RSM archive root file: archive-descriptor.xml. An archive-descriptor.xml file is an XML file that contains a root tag: <root>. As a minimum, the <root> tag must contain a <name> tag that defines the path to the root file of the RSM archive.

The root tag can also contain a <binding-class-name> tag, which specifies the binding class needed to read the root file. By default, this class is ilog.rules.ras.binding.xml.impl.IlrXMLRSMBindingObjectImpl.

The root can also include a <binding-configuration-class-name> tag, which specifies the binding class name needed to read the configuration of the root file. By default, this class is ilog.rules.ras.binding.xml.impl.IlrXMLRSMBindingObjectImpl.


Constructor Summary
IlrArchiveDescriptorWrapper()
          Creates an IlrArchiveDescriptorWrapper instance.
 
Method Summary
 String getBindingClassName()
          Gets the name of the binding class used to read the root element.
 String getBindingConfigurationClassName()
          Gets the name of the binding class used to read the configuration of the root element.
 String getName()
          Gets the name of the root element of an RSM archive.
 void setBindingClassName(String bindingClassName)
          Sets the name of the binding class used to read the root element.
 void setBindingConfigurationClassName(String bindingConfigurationClassName)
          Sets the name of the binding class used to read the configuration of the root element.
 void setName(String name)
          Sets the name of the root element of an RSM archive.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlrArchiveDescriptorWrapper

public IlrArchiveDescriptorWrapper()
Creates an IlrArchiveDescriptorWrapper instance.

Method Detail

getBindingClassName

public String getBindingClassName()
Gets the name of the binding class used to read the root element.

Returns:
The name of the binding class to use.

setBindingClassName

public void setBindingClassName(String bindingClassName)
Sets the name of the binding class used to read the root element.

Parameters:
bindingClassName - The name of the binding class to set.

getBindingConfigurationClassName

public String getBindingConfigurationClassName()
Gets the name of the binding class used to read the configuration of the root element.

Returns:
The name of the binding class to use.

setBindingConfigurationClassName

public void setBindingConfigurationClassName(String bindingConfigurationClassName)
Sets the name of the binding class used to read the configuration of the root element.

Parameters:
bindingConfigurationClassName - The name of the binding class to set.

getName

public String getName()
Gets the name of the root element of an RSM archive.

Returns:
The name of the root element.

setName

public void setName(String name)
Sets the name of the root element of an RSM archive.

Parameters:
name - The name of the root element to set.

ILOG JRules