com.batavia.xml
Interface ComparablePart

All Superinterfaces:
java.lang.Comparable
All Known Subinterfaces:
All, Annotation, AnyAttribute, AnyElement, AppInfo, Arc, ArcroleRef, ArcroleType, AttributeGroup, AttributeType, BasicType, CalculationArc, CalculationLink, Choice, ComplexContent, ComplexType, Concept, Context, ContextElement, DateTime, Declaration, DeclaredArc, DeclaredLink, DeclaredResource, Definition, DefinitionArc, DefinitionLink, DimensionalContext, DimensionalFractionItem, DimensionalItem, DimensionalMember, DimensionalScenario, DimensionalSegment, Divide, Documentation, Documentation, EndDate, Entity, ExplicitMember, ExtendedLink, Extension, ExtensionType, Fact, Footnote, FootnoteArc, FootnoteLink, FootnoteLocator, Forever, Fraction, FractionDenominator, FractionItemType, FractionNumerator, FractionPart, FullyQualifiedName, Group, GroupRefElement, Identifier, Import, Include, InstanceElement, Instant, Item, Item, Label, LabelArc, Labelled, LabelLink, Linkbase, LinkbaseExtendedLink, LinkbaseRef, LinkbaseRef, LinkbaseRoot, LinkElement, Locator, Measure, MessageElement, MessagesElement, NetworkArc, NetworkNode, OriginElement, Part, Period, PresentationArc, PresentationLink, Redefine, RefElement, Reference, ReferenceArc, ReferenceLink, RegularInstanceElement, RegularSchemaElement, RelationLink, ReportScope, Resource, Restriction, RestrictionElement, RoleRef, RoleType, RoleTypeElement, Root, RootElement, Scenario, SchemaRef, Segment, Sequence, SimpleContent, SimpleLink, SimpleType, StartDate, SummationContributingItem, TaxonomyElement, Title, Tuple, Tuple, TypedMember, Unit, UnitDenominator, UnitElement, UnitNumerator, UnknownInstanceElement, UnknownTaxonomyElement, UnknownXlink, UsedOn, Xbrl, XbrlElement, XbrlType, Xlink, XmlAttribute, XmlElement, XmlParticle

public interface ComparablePart
extends java.lang.Comparable

Interface to be implemented by classes that provide XBRL comparison functionality.

Classes implementing this interface provide comparison for Context, Structure, Unit, Value, Xpath and identical facets.

Copyright 2006 J2R BV, The Netherlands.

Part of Licensed Materials.

www.batavia-xbrl.com

Author:
Ron van Ardenne

Method Summary
 boolean c_equal(ComparablePart other)
          Determine if the other is Context equal to this.
 boolean identical(ComparablePart other)
          Determine if the other is the same object as this.
 boolean s_equal(ComparablePart other)
          Determine if the other is Structure equal to this.
 boolean u_equal(ComparablePart other)
          Determine if the other is Unit equal to this.
 boolean v_equal(ComparablePart other)
          Determine if the other is Value equal to this.
 boolean x_equal(ComparablePart other)
          Determine if the other is x_equal [XPATH] to this.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

c_equal

boolean c_equal(ComparablePart other)
Determine if the other is Context equal to this.

Parameters:
other - another ComparablePart object
Returns:
true if the other is Context equal to this.

s_equal

boolean s_equal(ComparablePart other)
Determine if the other is Structure equal to this.

Parameters:
other - another ComparablePart object
Returns:
true if the other is Structure equal to this.

u_equal

boolean u_equal(ComparablePart other)
Determine if the other is Unit equal to this.

Parameters:
other - another ComparablePart object
Returns:
true if the other is Unit equal to this.

v_equal

boolean v_equal(ComparablePart other)
Determine if the other is Value equal to this.

Parameters:
other - another ComparablePart object
Returns:
true if the other is Value equal to this.

identical

boolean identical(ComparablePart other)
Determine if the other is the same object as this.

Parameters:
other - another ComparablePart object
Returns:
true if the other is the same object as this

x_equal

boolean x_equal(ComparablePart other)
Determine if the other is x_equal [XPATH] to this.

Returns:
true if the other is x_equal [XPATH] to this.