ilog.rules.archive

Class IlrRulesetArchive.Element

  • java.lang.Object
    • ilog.rules.archive.IlrRulesetArchive.Element
  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    IlrRulesetArchive


    public class IlrRulesetArchive.Element
    extends java.lang.Object
    implements java.io.Serializable
    Model of an archive element.
    See Also:
    Serialized Form
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      byte[] getContent()
      Returns the element contents.
      java.lang.String getKey()
      Returns the element name.
      int getKind()
      Returns the kind of the element.
      java.lang.String toString()
      Returns a representation of the element as a java.lang.String.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getKey

        public java.lang.String getKey()
        Returns the element name.
        Returns:
        The name under which the element content is stored in the archive.
      • getContent

        public byte[] getContent()
        Returns the element contents.
        Returns:
        A byte array that represents the contents of the archive element.
      • getKind

        public int getKind()
        Returns the kind of the element.
        Returns:
        The kind of the element. The possible values for the kind are: IRL, BOM, B2X, XOM, XSD, WSDL, USER_DATA, or ENGINE_CONF.
      • toString

        public java.lang.String toString()
        Returns a representation of the element as a java.lang.String.
        Overrides:
        toString in class java.lang.Object
        Returns:
        A string that represents the element contents. If the element kind is USER_DATA, the contents may not be interpretable as a java.lang.String. In this case a string formatted as follows is returned: [IlrRulesetArchive.Element " + <element's key> +"]

© Copyright IBM Corp. 1987, 2017