public class AtrInfo extends Object
| Constructor and Description |
|---|
AtrInfo(long s,
AttributeInfo.EnumAttributeType t,
org.apache.commons.lang.enums.ValuedEnum e) |
AtrInfo(long s,
AttributeInfo.EnumAttributeType t,
org.apache.commons.lang.enums.ValuedEnum e,
String _atrDefault) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAtrDefault() |
AttributeInfo.EnumAttributeType |
getAtrType() |
long |
getAtrValidityStatus() |
org.apache.commons.lang.enums.ValuedEnum |
getEnumEnum() |
JDFElement.EnumVersion |
getFirstVersion()
get the first jdf version where an attribute of this type is valid
|
JDFElement.EnumVersion |
getLastVersion()
get the last jdf version where an attribute of this type is valid
|
static boolean |
matchesAttribute(String smallAtt,
String bigAtt,
AttributeInfo.EnumAttributeType dataType)
checks whether smallAtt is a matching subset of bigAtt depending on datatype
|
String |
toString() |
public AtrInfo(long s,
AttributeInfo.EnumAttributeType t,
org.apache.commons.lang.enums.ValuedEnum e,
String _atrDefault)
s - t - e - _atrDefault - public AtrInfo(long s,
AttributeInfo.EnumAttributeType t,
org.apache.commons.lang.enums.ValuedEnum e)
s - t - e - public static boolean matchesAttribute(String smallAtt, String bigAtt, AttributeInfo.EnumAttributeType dataType)
smallAtt - the small att to testbigAtt - the big att, e.g. list to test againstdataType - the datatype of the big attpublic AttributeInfo.EnumAttributeType getAtrType()
public long getAtrValidityStatus()
public org.apache.commons.lang.enums.ValuedEnum getEnumEnum()
public String getAtrDefault()
public String toString()
toString in class ObjectObject.toString()public JDFElement.EnumVersion getFirstVersion()
public JDFElement.EnumVersion getLastVersion()
Copyright © 2013. All Rights Reserved.