diff options
author | Yuuta Liang <yuutaw@student.cs.ubc.ca> | 2023-11-28 21:08:03 -0800 |
---|---|---|
committer | Yuuta Liang <yuutaw@student.cs.ubc.ca> | 2023-11-28 21:08:03 -0800 |
commit | f8e05e4376e1d5f00c93307605eb768281ad240b (patch) | |
tree | 5683cfe5c5c612452723f44d3eee114f27498fcf /src/main/model/x501/AttributeTypeAndValue.java | |
parent | 2a9c2e3abf57a5d92e311c07679ff62be7275f02 (diff) | |
download | jca-f8e05e4376e1d5f00c93307605eb768281ad240b.tar jca-f8e05e4376e1d5f00c93307605eb768281ad240b.tar.gz jca-f8e05e4376e1d5f00c93307605eb768281ad240b.tar.bz2 jca-f8e05e4376e1d5f00c93307605eb768281ad240b.zip |
Add association tags and generate UML
Signed-off-by: Yuuta Liang <yuutaw@student.cs.ubc.ca>
Diffstat (limited to 'src/main/model/x501/AttributeTypeAndValue.java')
-rw-r--r-- | src/main/model/x501/AttributeTypeAndValue.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/model/x501/AttributeTypeAndValue.java b/src/main/model/x501/AttributeTypeAndValue.java index 179d6ff..c79ff77 100644 --- a/src/main/model/x501/AttributeTypeAndValue.java +++ b/src/main/model/x501/AttributeTypeAndValue.java @@ -1,5 +1,6 @@ package model.x501; +import annotations.Assoc; import model.asn1.ASN1Object; import model.asn1.ObjectIdentifier; import model.asn1.Tag; @@ -24,11 +25,13 @@ public class AttributeTypeAndValue extends ASN1Object { * The type of that attribute. For example, <pre>2.5.4.10</pre> is OU. * It determines the format of the value. */ + @Assoc(partOf = true) private final ObjectIdentifier type; /** * Value corresponding to type. */ + @Assoc(partOf = true) private final ASN1Object value; /** |