org.eclipse.higgins.idas.impl
Class BasicValueGMonth
java.lang.Object
org.eclipse.higgins.idas.impl.AbstractSimpleValue
org.eclipse.higgins.idas.impl.BasicValueDateTime
org.eclipse.higgins.idas.impl.BasicValueGMonth
- All Implemented Interfaces:
- IPropertyValue, ISimpleValue
public class BasicValueGMonth
- extends BasicValueDateTime
- implements ISimpleValue
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XML_TYPE_STR
public static final java.lang.String XML_TYPE_STR
- See Also:
- Constant Field Values
OWL_TYPE_STR
public static final java.lang.String OWL_TYPE_STR
- See Also:
- Constant Field Values
ATTR_VALUE_URI_STR
public static final java.lang.String ATTR_VALUE_URI_STR
- See Also:
- Constant Field Values
ATTR_VALUE_TYPE_URI_STR
public static final java.lang.String ATTR_VALUE_TYPE_URI_STR
- See Also:
- Constant Field Values
BasicValueGMonth
public BasicValueGMonth(java.lang.String value)
_getAllowedFormats
protected java.lang.String[] _getAllowedFormats()
- TODO: I don't get why there are two dashes in front of the string representation
- Overrides:
_getAllowedFormats
in class BasicValueDateTime
- Returns:
- a String array of
SimpleDateFormat
Date and Time Pattern strings where the first string
represents the canonical representation and subsequent
strings represent other lexical representations
getType
public java.net.URI getType()
throws IdASException
- Returns a URI for "http://www.w3.org/2001/XMLSchema#gMonth"
- Specified by:
getType
in interface IPropertyValue
- Overrides:
getType
in class BasicValueDateTime
- Returns:
- The OWL type for this property's value.
- Throws:
IdASException