org.fosstrak.epcis.repository.model
Class EventFieldExtension
java.lang.Object
org.fosstrak.epcis.repository.model.EventFieldExtension
public class EventFieldExtension
- extends Object
A simple representation for an event field extension.
- Author:
- Marco Steybe
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventFieldExtension
public EventFieldExtension(String prefix,
String namespace,
String localname,
String value)
- Constructs a new EventFieldExtension from the parameters. The value will
be parsed to see if it represents an integer, a float, a date, or a
string.
- Parameters:
prefix - The prefix of the event field.namespace - The namespace for the prefix.localname - The localname (tag name) of the event field.value - The value of the event field.
EventFieldExtension
public EventFieldExtension()
getId
public Long getId()
setId
public void setId(Long id)
getDateValue
public Timestamp getDateValue()
- Returns:
- The date value of the event field extension.
getFieldname
public String getFieldname()
- Returns:
- The name of the event field extension.
getFloatValue
public Float getFloatValue()
- Returns:
- The float value of the event field extension.
getIntValue
public Integer getIntValue()
- Returns:
- The int value of the event field extension.
getLocalname
public String getLocalname()
- Returns:
- The localname of the event field extension.
getNamespace
public String getNamespace()
- Returns:
- The namespace of the event field extension.
getPrefix
public String getPrefix()
- Returns:
- The prefix of the event field extension.
getStrValue
public String getStrValue()
- Returns:
- The string value of the event field extension.
getValueColumnName
public String getValueColumnName()
- Returns:
- The value column name of the event field extension.
setDateValue
public void setDateValue(Timestamp dateValue)
setFieldname
public void setFieldname(String fieldname)
setFloatValue
public void setFloatValue(Float floatValue)
setIntValue
public void setIntValue(Integer intValue)
setLocalname
public void setLocalname(String localname)
setNamespace
public void setNamespace(String namespace)
setPrefix
public void setPrefix(String prefix)
setStrValue
public void setStrValue(String strValue)
setValueColumnName
public void setValueColumnName(String valueColumnName)
Copyright © 2010. All Rights Reserved.