Package com.isode.dsapi.syntax.mhs
Class MTAInfo.AEInfo
java.lang.Object
com.isode.dsapi.syntax.mhs.MTAInfo.AEInfo
- Enclosing class:
- MTAInfo
Represents the AEInfo structure inside an MTAInfo
- Since:
- 14.4
- Author:
- nh
-
Constructor Summary
ConstructorsConstructorDescriptionAEInfo
(MHSR.AEInfo val) Create a new AEInfo object from an existing ASN representation.Create a new AEInfo object -
Method Summary
Modifier and TypeMethodDescriptionReturn a set containing the values of the ae-attributes.Return the aEQualifier of this AEInfo.int
Return the ae-weight of this AEInfo.void
setAeAttributes
(Set<Attribute> atts) Set the values for ae-attributes.void
setAeQualifier
(String newAeQualifier) Set the aEQualifier of this AEInfo.void
setAEWeight
(int newAeWeight) Set the ae-weight of this AEInfo.
-
Constructor Details
-
AEInfo
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
Create a new AEInfo object- Parameters:
aeQualifier
- the ae-qualifieraeWeight
- 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
Return the aEQualifier of this AEInfo.- Returns:
- the aeQualifier.
-
setAeQualifier
Set the aEQualifier of this AEInfo.- Parameters:
newAeQualifier
- the new value.
-
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
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.
-