|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Concept
Concepts are defined in taxonomy schemas.
Each concept defined in a taxonomy schema is uniquely identified by an element’s syntax definition in the taxonomy schema. To correspond to a concept definition, an XML Schema element definition has to specify the element’s name, a substitution group, and type. All element names MUST be unique within a given taxonomy schema.
The element MUST be in the substitution group for the XBRL item element or the XBRL tuple element. The element MAY also include any of the other XML Schema attributes that can be used on an element’s syntax definition, including abstract and nillable.
Copyright 2006 J2R BV, The Netherlands.
Part of Licensed Materials.
www.batavia-xbrl.com
| Method Summary | |
|---|---|
void |
createExtraSibblings(int nr,
Fact sibbling,
InstanceElement parentForSibblings,
Xbrl instanceRoot,
boolean includeDefaultValues)
|
Fact |
createInferredFact(InstanceElement parent,
Xbrl aRoot)
create a Fact and populate it except for its value for the purpose of inferring an instance fact for paasing a conformnace test |
XmlAttribute |
getAbstractAttribute()
|
java.util.List |
getAncestors()
|
XmlAttribute |
getBalance()
|
java.util.Map |
getCalculationMap()
Get the Map that containes the calculations for this concept |
XbrlType |
getConceptType()
Get the concept type for this concept. |
XmlAttribute |
getId()
|
Label |
getLabel(java.lang.String prefRole,
java.lang.String prefLanguage,
DiscoverableTaxonomySet dts)
get the Label for this Concept based on the preffered role uri and the preffered language code. |
java.util.List |
getLabels(java.lang.String prefRole,
java.lang.String prefLanguage,
DiscoverableTaxonomySet dts)
|
int |
getMaxOccurs()
|
XmlAttribute |
getNameAttribute()
|
FullyQualifiedName |
getNameForTargetNamespace()
Get the name of this concept for its (parents) target namespace including a prefix |
FullyQualifiedName |
getNameForTargetNamespace(XbrlElement theElementItsFor)
Get the name of this concept for its (parents) target namespace including a prefix. |
XmlAttribute |
getNillable()
|
XmlAttribute |
getPeriodType()
|
Label |
getPrefLabelAndLangOnly(java.lang.String prefRole,
java.lang.String prefLanguage,
DiscoverableTaxonomySet dts)
|
java.util.List |
getReferences(DiscoverableTaxonomySet dts)
|
XmlAttribute |
getSubstitutionGroup()
|
XmlAttribute |
getType()
|
boolean |
isAbstract()
|
boolean |
isOptional()
|
void |
setAbstractAttribute(XmlAttribute abstractAttribute)
|
void |
setBalance(XmlAttribute balance)
|
void |
setId(XmlAttribute id)
|
void |
setMaxOccurs(int maxOccurs)
|
void |
setNameAttribute(XmlAttribute nameAttribute)
|
void |
setNillable(XmlAttribute nillable)
|
void |
setOptional(boolean optional)
|
void |
setPeriodType(XmlAttribute periodType)
|
void |
setSubstitutionGroup(XmlAttribute substitutionGroup)
|
void |
setType(XmlAttribute type)
|
java.lang.String |
toString()
Create string for debug |
boolean |
validate(XmlElement xmlElement,
ValidationDocument msgs)
Validate this xbrl part (of the instance and/or its supporting discoverable taxonomy set) and add messages on any problem to the given XbrlValidationMessages collection. |
| Methods inherited from interface com.batavia.xbrl.taxonomy.type.Declaration |
|---|
createContents, getAncestor, getXmlType, isInSubstitutionGroup, isPresent, validate |
| Method Detail |
|---|
XbrlType getConceptType()
java.util.Map getCalculationMap()
java.lang.String toString()
toString in class java.lang.Object
Fact createInferredFact(InstanceElement parent,
Xbrl aRoot)
parent - aRoot -
XmlAttribute getAbstractAttribute()
void setAbstractAttribute(XmlAttribute abstractAttribute)
abstractAttribute - The abstractAttribute to set.XmlAttribute getBalance()
void setBalance(XmlAttribute balance)
balance - The balance to set.XmlAttribute getId()
getId in interface IdHoldervoid setId(XmlAttribute id)
id - The id to set.XmlAttribute getNillable()
void setNillable(XmlAttribute nillable)
nillable - The nillable to set.XmlAttribute getPeriodType()
void setPeriodType(XmlAttribute periodType)
periodType - The periodType to set.XmlAttribute getSubstitutionGroup()
getSubstitutionGroup in interface Declarationvoid setSubstitutionGroup(XmlAttribute substitutionGroup)
setSubstitutionGroup in interface DeclarationsubstitutionGroup - The substitutionGroup to set.XmlAttribute getType()
void setType(XmlAttribute type)
type - The type to set.XmlAttribute getNameAttribute()
void setNameAttribute(XmlAttribute nameAttribute)
nameAttribute - The nameAttribute to set.FullyQualifiedName getNameForTargetNamespace()
getNameForTargetNamespace in interface DeclarationFullyQualifiedName getNameForTargetNamespace(XbrlElement theElementItsFor)
getNameForTargetNamespace in interface DeclarationXbrlElement - the name is created for
boolean isAbstract()
isAbstract in interface Declarationint getMaxOccurs()
void setMaxOccurs(int maxOccurs)
maxOccurs - The maxOccurs to set.boolean isOptional()
void setOptional(boolean optional)
optional - The optional to set.
void createExtraSibblings(int nr,
Fact sibbling,
InstanceElement parentForSibblings,
Xbrl instanceRoot,
boolean includeDefaultValues)
java.util.List getReferences(DiscoverableTaxonomySet dts)
Label getLabel(java.lang.String prefRole,
java.lang.String prefLanguage,
DiscoverableTaxonomySet dts)
prefRole - uriprefLanguage - code like "en"
Label getPrefLabelAndLangOnly(java.lang.String prefRole,
java.lang.String prefLanguage,
DiscoverableTaxonomySet dts)
java.util.List getLabels(java.lang.String prefRole,
java.lang.String prefLanguage,
DiscoverableTaxonomySet dts)
boolean validate(XmlElement xmlElement,
ValidationDocument msgs)
validate in interface Declarationmsgs - The messages that indicate the problems with the instance and or its supporting
taxonomy set
java.util.List getAncestors()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||