com.batavia.xbrl.taxonomy.type
Interface FractionItemType

All Superinterfaces:
java.lang.Comparable, ComparablePart, IdKeeper, java.io.Serializable, TaxonomyElement, org.relaxng.datatype.ValidationContext, XbrlElement, XbrlType, XmlElement, XmlParticle

public interface FractionItemType
extends XbrlType

a basic type constructed from two other basic types a decimal for the numerator part and a non-zero decimal for the denominator part.

This class manages the basic fractionItemType and the ones derived by restriction on the parts of the basic fractionItemType.

Copyright 2006 J2R BV, The Netherlands.

Part of Licensed Materials.

www.batavia-xbrl.com

Author:
Ron van Ardenne

Method Summary
 XmlAttribute getNameAttribute()
           
 com.sun.msv.datatype.xsd.XSDatatype getTypeForDenominator()
          Get the XSDatatype for validation of the denominator.
 com.sun.msv.datatype.xsd.XSDatatype getTypeForNumerator()
          Get the XSDatatype for validation of the numerator.
 boolean isNonNumeric()
          this is not text, it is numeric
 void setNameAttribute(XmlAttribute nameAttribute)
           
 
Methods inherited from interface com.batavia.xbrl.taxonomy.type.XbrlType
getBase, getDerivedFrom, getNameForTargetNamespace, getXSDatatype, isDerivedFrom, isFraction, isNumeric, isNumericNonFraction, isTypeOrDerivedFromType, setDerivedFrom, validate
 
Methods inherited from interface com.batavia.xbrl.taxonomy.TaxonomyElement
getRoot, hasDecendantsWithAttribute, hasUnknownDecendants
 
Methods inherited from interface com.batavia.xbrl.XbrlElement
addChild, fromXbrl, getMyDiscoverableTaxonomySet, getXbrlElementNameSpace, removeChild, toXbrlStream, toXbrlString
 
Methods inherited from interface com.batavia.xml.XmlElement
addAttribute, addChild, addChildren, addComment, addMessage, addNameSpace, clearMessages, fromXml, getAttribute, getAttribute, getAttributeSet, getChild, getChildren, getChildren, getDefaultNameSpace, getDocumentHref, getErrorMessage, getFullyQualifiedNameValue, getMappedChildren, getMessages, getName, getNameSpace, getNameSpacePrefixes, getNameSpaces, getPointedElement, getValidXmlBase, getValue, getXmlElementNameSpace, getXmlRoot, isValid, moveChild, removeAttribute, removeChild, resolvePointedValue, resolvePointedXmlParticle, setAttributeValue, setChildren, setDocumentHref, setErrorMessage, setInit, setName, setTargetNameSpace, setValue, toXml, toXml, toXmlStream, toXmlString, toXstringBuffer, validate
 
Methods inherited from interface com.batavia.xml.XmlParticle
destroy, getBaseUri, getParent, getPrefix, getTargetNameSpace, isBoolean, isNumber, p_equal, resolveNamespacePrefix, setParent, toXstring
 
Methods inherited from interface com.batavia.xml.ComparablePart
c_equal, identical, s_equal, u_equal, v_equal, x_equal
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface org.relaxng.datatype.ValidationContext
isNotation, isUnparsedEntity
 
Methods inherited from interface com.batavia.xml.IdKeeper
addIdHolder, getHolder, removeIdHolder
 

Method Detail

getTypeForNumerator

com.sun.msv.datatype.xsd.XSDatatype getTypeForNumerator()
Get the XSDatatype for validation of the numerator.

Returns:
XSDatatype

getTypeForDenominator

com.sun.msv.datatype.xsd.XSDatatype getTypeForDenominator()
Get the XSDatatype for validation of the denominator.

Returns:
XSDatatype

isNonNumeric

boolean isNonNumeric()
this is not text, it is numeric

Specified by:
isNonNumeric in interface XbrlType

getNameAttribute

XmlAttribute getNameAttribute()
Specified by:
getNameAttribute in interface XbrlType
Returns:
Returns the nameAttribute.

setNameAttribute

void setNameAttribute(XmlAttribute nameAttribute)
Parameters:
nameAttribute - The nameAttribute to set.