Class OtherSpec

java.lang.Object
org.jcsp.net.settings.Spec
org.jcsp.net.settings.OtherSpec
All Implemented Interfaces:
XMLConfigConstants
Direct Known Subclasses:
OtherReq

public class OtherSpec extends Spec
Used internally within the JCSP network infrastructure to represent misellaneous specifications.
  • Field Details

    • type

      private Class type
    • intValue

      private int intValue
    • dblValue

      private double dblValue
    • booValue

      private boolean booValue
    • strValue

      private String strValue
  • Constructor Details

    • OtherSpec

      OtherSpec(String name, int value, boolean isReq)
    • OtherSpec

      OtherSpec(String name, double value, boolean isReq)
    • OtherSpec

      OtherSpec(String name, boolean value, boolean isReq)
    • OtherSpec

      OtherSpec(String name, String value, boolean isReq)
  • Method Details

    • getType

      public Class getType()
    • getIntValue

      public int getIntValue()
    • getDoubleValue

      public double getDoubleValue()
    • getBooleanValue

      public boolean getBooleanValue()
    • getStringValue

      public String getStringValue()
      Specified by:
      getStringValue in class Spec
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Spec