org.eclipse.higgins.idas.impl
Class BasicValueDateTime
java.lang.Object
org.eclipse.higgins.idas.impl.AbstractSimpleValue
org.eclipse.higgins.idas.impl.BasicValueDateTime
- All Implemented Interfaces:
- IPropertyValue, ISimpleValue
- Direct Known Subclasses:
- BasicValueDate, BasicValueDay, BasicValueMonth, BasicValueMonthDay, BasicValueTime, BasicValueYear, BasicValueYearMonth
public class BasicValueDateTime
- extends AbstractSimpleValue
- implements ISimpleValue
Method Summary |
String |
getCanonical()
Default implementation of getCanonical calls toString() on the backing datatype. |
Object |
getData()
Returns the backing Java object for this property value. |
String |
getLexical()
Default implementation of getLexical calls toString() on the backing datatype. |
BasicValueDateTime
public BasicValueDateTime(String value)
getLexical
public String getLexical()
throws IdASException
- Description copied from class:
AbstractSimpleValue
- Default implementation of getLexical calls toString() on the backing datatype.
- Specified by:
getLexical
in interface ISimpleValue
- Overrides:
getLexical
in class AbstractSimpleValue
- Throws:
IdASException
getCanonical
public String getCanonical()
throws IdASException
- Description copied from class:
AbstractSimpleValue
- Default implementation of getCanonical calls toString() on the backing datatype.
- Specified by:
getCanonical
in interface ISimpleValue
- Overrides:
getCanonical
in class AbstractSimpleValue
- Throws:
IdASException
getData
public Object getData()
throws IdASException
- Description copied from interface:
IPropertyValue
- Returns the backing Java object for this property value.
TODO: This method is a temporary hack to solve the issue brought up in this thread.
- Specified by:
getData
in interface IPropertyValue
- Specified by:
getData
in interface ISimpleValue
- Throws:
IdASException
Copyright © 2006 Novell Inc. All Rights Reserved.
This program and the accompanying materials are made available
under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
Contributors:
Jim Sermersheim (Novell, Inc.) - initial API and implementation