Class MTAInfo.AEInfo

java.lang.Object
com.isode.dsapi.syntax.mhs.MTAInfo.AEInfo
Enclosing class:
MTAInfo

public static class MTAInfo.AEInfo extends Object
Represents the AEInfo structure inside an MTAInfo
Since:
14.4
Author:
nh
  • Constructor Details

    • AEInfo

      public AEInfo(MHSR.AEInfo val)
      Create a new AEInfo object from an existing ASN representation.
      Parameters:
      val - an ASN value, which must not be null. The contents of this object will be copied.
    • AEInfo

      public AEInfo(String aeQualifier, int aeWeight)
      Create a new AEInfo object
      Parameters:
      aeQualifier - the ae-qualifier
      aeWeight - the ae-weight
  • Method Details

    • getAEWeight

      public int getAEWeight()
      Return the ae-weight of this AEInfo.
      Returns:
      ae-weight.
    • setAEWeight

      public void setAEWeight(int newAeWeight)
      Set the ae-weight of this AEInfo.
      Parameters:
      newAeWeight - the new value.
    • getAeQualifier

      public String getAeQualifier()
      Return the aEQualifier of this AEInfo.
      Returns:
      the aeQualifier.
    • setAeQualifier

      public void setAeQualifier(String newAeQualifier)
      Set the aEQualifier of this AEInfo.
      Parameters:
      newAeQualifier - the new value.
    • getAeAttributes

      public Set<Attribute> getAeAttributes()
      Return a set containing the values of the ae-attributes.

      Note that the Isode syntax handler (syn_mtai.c) currently ignores this field ("values are neither parsed nor printed"), which means that values generated via the syntax handler will always report no values.

      Returns:
      a set of Attributes. If no ae-attributes are present, this will be an empty set.
    • setAeAttributes

      public void setAeAttributes(Set<Attribute> atts)
      Set the values for ae-attributes.

      Note that the Isode syntax handler (syn_mtai.c) currently ignores this field ("values are neither parsed nor printed"), which means that values generated via the syntax handler will always report no values.

      Parameters:
      atts - a set of Attributes. Use null to indicate that no attributes should be used.