Modifier and Type | Class and Description |
---|---|
static class |
Attribute.Type |
Constructor and Description |
---|
Attribute(java.lang.String name) |
Attribute(java.lang.String name,
Attribute.Type type) |
Modifier and Type | Method and Description |
---|---|
void |
addNumber(double number) |
void |
addTime(long time) |
void |
addValue(org.deckfour.xes.model.XAttribute attribute) |
int |
compareTo(Attribute arg0) |
boolean |
equals(java.lang.Object obj) |
void |
finalise() |
java.lang.String |
getName() |
double |
getNumericMax() |
double |
getNumericMin() |
java.util.Collection<java.lang.String> |
getStringValues() |
long |
getTimeMax() |
long |
getTimeMin() |
int |
hashCode() |
boolean |
isLiteral() |
boolean |
isNumeric() |
static boolean |
isStringNumeric(java.lang.String str) |
boolean |
isTime() |
boolean |
isTraceDuration() |
boolean |
isTraceNumberofEvents() |
boolean |
isVirtual() |
static double |
parseDoubleFast(org.deckfour.xes.model.XAttribute attribute)
See if the given attribute has a numeric value.
|
static long |
parseLongFast(org.deckfour.xes.model.XAttribute attribute)
See if the given attribute has a numeric value.
|
static long |
parseTimeFast(org.deckfour.xes.model.XAttribute attribute) |
void |
setName(java.lang.String name) |
java.lang.String |
toString() |
public Attribute(java.lang.String name)
public Attribute(java.lang.String name, Attribute.Type type)
public void addValue(org.deckfour.xes.model.XAttribute attribute)
public void addNumber(double number)
public void addTime(long time)
public void finalise()
public int compareTo(Attribute arg0)
compareTo
in interface java.lang.Comparable<Attribute>
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isLiteral()
public boolean isNumeric()
public boolean isTime()
public boolean isTraceDuration()
public boolean isTraceNumberofEvents()
public boolean isVirtual()
public java.util.Collection<java.lang.String> getStringValues()
public java.lang.String getName()
public void setName(java.lang.String name)
public double getNumericMin()
public double getNumericMax()
public long getTimeMin()
public long getTimeMax()
public static long parseTimeFast(org.deckfour.xes.model.XAttribute attribute)
public static double parseDoubleFast(org.deckfour.xes.model.XAttribute attribute)
attribute
- public static long parseLongFast(org.deckfour.xes.model.XAttribute attribute)
attribute
- public static boolean isStringNumeric(java.lang.String str)