Пример #1
0
 public Attribute(String s, String s1, String s2, ValueType valuetype) {
   attributeValue = new JSONObject();
   sessionId = s;
   attributeName = s1;
   attributeType = s2;
   attributeValue = valuetype.toJSON();
 }
Пример #2
0
 public Attribute setAttributeValue(ValueType valuetype) {
   attributeValue = valuetype.toJSON();
   return this;
 }