예제 #1
0
 @Override
 public String toString() {
   return DatamodelUtils.toStringAttribute(this, null);
 }
예제 #2
0
 @Override
 public boolean equals(Object obj) {
   return DatamodelUtils.equalAttributes(this, obj);
 }
예제 #3
0
 /**
  * This method compares this attribute to another. It is required by the Comparable and the
  * Attribute-Interface. It compares in multiple steps 1) lexicographic order of identification 2)
  * lexicographic order of value 3) sort by subattributes 3a) attributes are equal iff their
  * subattribute lists are equal 3b) the attribute with more subattributes comes first 3c) the
  * first difference in equal-length subattribute lists decides
  */
 @Override
 public int compareTo(Attribute arg0) {
   return DatamodelUtils.compareAttributes(this, arg0);
 }
예제 #4
0
 @Override
 public String getValueType() {
   return DatamodelUtils.getValueType(attributeValue);
 }