org.eclipse.higgins.idas.impl
Class BasicValueInteger

Package class diagram package BasicValueInteger
java.lang.Object
  extended by org.eclipse.higgins.idas.impl.AbstractSimpleValue
      extended by org.eclipse.higgins.idas.impl.BasicValueInteger
All Implemented Interfaces:
IPropertyValue, ISimpleValue
Direct Known Subclasses:
BasicValueNegativeInteger, BasicValueNonNegativeInteger, BasicValueNonPositiveInteger, BasicValuePositiveInteger

public class BasicValueInteger
extends AbstractSimpleValue
implements ISimpleValue

TODO: make sure getCanonical() meets the canonical rules for xsd:integer. Nothing in the BigInteger Javadoc leads me to believe it's incorrect.


Constructor Summary
BasicValueInteger(String value)
           
 
Method Summary
 Object getData()
          Returns the BigInteger backing this value
 
Methods inherited from class org.eclipse.higgins.idas.impl.AbstractSimpleValue
getCanonical, getLexical, isSimple
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.higgins.idas.ISimpleValue
getCanonical, getLexical
 
Methods inherited from interface org.eclipse.higgins.idas.IPropertyValue
isSimple
 

Constructor Detail

BasicValueInteger

public BasicValueInteger(String value)
Method Detail

getData

public Object getData()
               throws IdASException
Returns the BigInteger backing this value

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