/*
 * Copyright (c) 2007, Going Dot Com Inc. All rights reserved.
 */

package jp.co.going.xbrl.common;

/**
 * インスタンス生成に必要な定数<BR>
 * を定義しているオブジェクトです。
 * 
 * @author Going Dot Com Inc.
 */
public class XbConstants {

    /** 基本スキーマ拡張子 */
	public static final String FILE_EXTENSION         = "xsd";
	/** 仕様番号　2.0 */
	public static final String SPECIFICATION_NO_20    = "2.0";
	/** 仕様番号　2.1 */
	public static final String SPECIFICATION_NO_21    = "2.1";
    /** ファイル名 */
    public static final String FILENAME_XBRL_INSTANCE = "xbrl-instance";
    /** 基本ファイル2.0 */
    public static final String INSTANCE_NAME20 = "xbrl-instance.xsd";
    public static final String LINKBASE_NAME20 = "xbrl-linkbase.xsd";
    /** 基本ファイル2.0 */
    public static final String INSTANCE_NAME21 = "xbrl-instance-2003-12-31.xsd";
    public static final String LINKBASE_NAME21 = "xbrl-linkbase-2003-12-31.xsd";
    /** restrictionタグ */
    public static final String TAG_RESTRICTION  = "restriction";
    /** extensionタグ */
    public static final String TAG_EXTENSION  = "extension";
    /** importタグ */
	public static final String TAG_IMPORT  = "import";
    /** includeタグ */
    public static final String TAG_INCLUDE  = "include";
	/** schemaタグ */
	public static final String TAG_SCHEMA  = "schema";
	/** elementタグ */
	public static final String TAG_ELEMENT  = "element";
	/** complexTypeタグ */
	public static final String TAG_COMPLEX_TYPE  = "complexType";
    /** simpleContentタグ */
    public static final String TAG_SIMPLECONTENT  = "simpleContent";
    /** schemaLocationタグ */
	public static final String TAG_IMPORT_SCHEMALOCATION  = "schemaLocation";
	/** documentationタグ */
	public static final String TAG_DOCUMENTATION  = "documentation";
    /** numeratorタグ */
    public static final String TAG_NUMERATOR  = "xbrli:unitNumerator";
    /** denominatorタグ */
    public static final String TAG_DENOMINATOR  = "xbrli:unitDenominator";
    /** rootタグ(2.0) */
    public static final String TAG_ROOT_20  = "xbrli:group";
    /** rootタグ(2.1) */
    public static final String TAG_ROOT_21  = "xbrli:xbrl";
    /** contextタグ */
    public static final String TAG_CONTEXT  = "xbrli:context";
    /** numericContextタグ */
    public static final String TAG_NUMERICCONTEXT  = "xbrli:numericContext";
    /** nonNumericContextタグ */
    public static final String TAG_NONNUMERICCONTEXT  = "xbrli:nonNumericContext";
    /** entityタグ */
    public static final String TAG_ENTITY  = "xbrli:entity";
    /** identifierタグ */
    public static final String TAG_IDENTIFIER  = "xbrli:identifier";
    /** segmentタグ */
    public static final String TAG_SEGMENT  = "xbrli:segment";
    /** periodタグ */
    public static final String TAG_PERIOD  = "xbrli:period";
    /** unitタグ */
    public static final String TAG_UNIT  = "xbrli:unit";
    /** scenarioタグ */
    public static final String TAG_SCENARIO  = "xbrli:scenario";
    /** instantタグ */
    public static final String TAG_INSTANT  = "xbrli:instant";
    /** startDateタグ */
    public static final String TAG_STARTDATE  = "xbrli:startDate";
    /** endDateタグ */
    public static final String TAG_ENDDATE  = "xbrli:endDate";
    /** foreverタグ */
    public static final String TAG_FOREVER  = "xbrli:forever";
    /** measureタグ */
    public static final String TAG_MEASURE  = "xbrli:measure";
    /** operatorタグ */
    public static final String TAG_OPERATOR  = "xbrli:operator";
    /** linkタグ */
    public static final String TAG_LINK  = "link";
    /** divideタグ */
    public static final String TAG_DIVIDE  = "xbrli:divide";
    /** link:schemaRef */
    public static final String TAG_SCHEMAREF  = "link:schemaRef";
    /** link:linkbaseRefタグ */
    public static final String TAG_LINKBASEREF  = "link:linkbaseRef";
    /** linkbaseRefタグ */
    public static final String TAG_LINKBASE  = "linkbaseRef";
    /** link:roleRefタグ */
    public static final String TAG_ROLEREF  = "link:roleRef";
    /** link:arcroleRefタグ */
    public static final String TAG_ARCROLEREF  = "link:arcroleRef";
    /** targetNamespace属性 */
	public static final String TARGET_NAMESPACE  = "targetNamespace";
	/** complexType-attribute属性 */
	public static final String COMPLEXTYPE_ATTRIBUTE  = "attribute";
	/** complexType-attributeGroup属性 */
	public static final String COMPLEXTYPE_ATTRIBUTE_GROUP  = "attributeGroup";
	/** attribute-id属性 */
	public static final String ATTRIBUTE_ID  = "id";
	/** attribute-name属性 */
	public static final String ATTRIBUTE_NAME  = "name";
	/** attribute-type属性 */
	public static final String ATTRIBUTE_TYPE  = "type";
	/** attribute-substitutionGroup属性 */
	public static final String ATTRIBUTE_SUBSTITUTION_GROUP  = "substitutionGroup";
    /** attribute-arc属性 */
    public static final String ATTRIBUTE_ARC  = "arc";
    /** attribute-locator属性 */
    public static final String ATTRIBUTE_LOCATOR  = "locator";
    /** attribute-resource属性 */
    public static final String ATTRIBUTE_RESOURCE  = "resource";
	/** attribute-xbrli:balance属性 */
	public static final String ATTRIBUTE_BALANCE  = "xbrli:balance";
	/** attribute-nillable属性 */
	public static final String ATTRIBUTE_NILLABLE  = "nillable";
	/** attribute-abstract属性 */
	public static final String ATTRIBUTE_ABSTRACT  = "abstract";
	/** attribute-xbrli:periodType属性 */
	public static final String ATTRIBUTE_PERIOD_TYPE  = "xbrli:periodType";
    /** attribute-xlink:type属性 */
    public static final String ATTRIBUTE_XLINK_TYPE  = "xlink:type";
	/** attribute-xlink:role属性 */
	public static final String ATTRIBUTE_XLINK_ROLE  = "xlink:role";
	/** attribute-xlink:href属性 */
	public static final String ATTRIBUTE_XLINK_HREF  = "xlink:href";
    /** attribute-xlink:show属性 */
    public static final String ATTRIBUTE_XLINK_SHOW  = "xlink:show";
    /** attribute-xlink:title属性 */
    public static final String ATTRIBUTE_XLINK_TITLE  = "xlink:title";
    /** attribute-xlink:from属性 */
    public static final String ATTRIBUTE_XLINK_FROM  = "xlink:from";
    /** attribute-xlink:to属性 */
    public static final String ATTRIBUTE_XLINK_TO  = "xlink:to";
    /** attribute-xlink:arcrole属性 */
    public static final String ATTRIBUTE_XLINK_ARCROLE  = "xlink:arcrole";
    /** attribute-xlink:label属性 */
    public static final String ATTRIBUTE_XLINK_LABEL  = "xlink:label";
    /** attribute-xml:lang属性 */
    public static final String ATTRIBUTE_XML_LANG  = "xml:lang";
    /** attribute-use属性 */
    public static final String ATTRIBUTE_USE  = "use";
    /** attribute-priority属性 */
    public static final String ATTRIBUTE_PRIORITY  = "priority";
    /** attribute-weight属性 */
    public static final String ATTRIBUTE_WEIGHT  = "weight";
    /** attribute-order属性 */
    public static final String ATTRIBUTE_ORDER  = "order";
	/** 属性　数値型 */
	public static final String ATTRIBUTE_NUMERIC      = "numeric";
	/** 属性　非数値型 */
	public static final String ATTRIBUTE_NO_NUMERIC   = "nonnumeric";
	/** substitutionGroup内容 */
	public static final String SUBSTITUTION_GROUP_VALUE  = "part";
    /** xmlns:属性 */
    public static final String NAMESPACE_XMLNS = "xmlns:";
    /** xlink:属性 */
    public static final String NAMESPACE_XLINLK = "xlink:";
    /** unitRef属性 */
    public static final String ATTRIBUTE_UNITREF  = "unitRef";
    /** decimals属性 */
    public static final String ATTRIBUTE_DECIMALS  = "decimals";
    /** schema属性 */
    public static final String ATTRIBUTE_SCHEME  = "scheme";
    /** precision属性 */
    public static final String ATTRIBUTE_PRECISION  = "precision";
    /** cwa属性 */
    public static final String ATTRIBUTE_CWA  = "cwa";
    /** numericContext属性 */
    public static final String ATTRIBUTE_NC  = "numericContext";
    /** nonNumericContext属性 */
    public static final String ATTRIBUTE_NNC  = "nonNumericContext";
    /** contextRef属性 */
    public static final String ATTRIBUTE_CR  = "contextRef";
    /** xmlns:iso4217 NameSpace */
    public static final String ISO4217_NAMESPACE  = "xmlns:iso4217";
    /** iso4217: NameSpace */
    public static final String ATTRIBUTE_ISO4217  = "iso4217:";
    /** xmlns:xl NameSpace */
    public static final String XMLNS_XL  = "xmlns:xl";
    /** divide */
    public static final String ATTRIBUTE_VALUE_DIVIDE  = "divide";
    /** multiply */
    public static final String ATTRIBUTE_VALUE_MULTIPLY  = "multiply";
    /** true */
    public static final String ATTRIBUTE_VALUE_TRUE  = "true";
    /** false */
    public static final String ATTRIBUTE_VALUE_FALSE  = "false";
    /** iso4217:URI(2.0) */
    public static final String ISO4217_URI20  = "http://www.iso.org/4217";
    /** iso4217:URI(2.1) */
    public static final String ISO4217_URI21  = "http://www.xbrl.org/2003/iso4217";
    /** calculation */
	public static final String ROLE_URL_CALCULATION  = "calculation";
    /** definition */
	public static final String ROLE_URL_DEFINITION  = "definition";
    /** presentation */
	public static final String ROLE_URL_PRESENTATION  = "presentation";
    /** label */
	public static final String ROLE_URL_LABEL  = "label";
    /** reference */
	public static final String ROLE_URL_REFERENCE  = "reference";
	/** linkbaseref */
    public static final String ROLE_URL_LINKBASEREF  = "LinkbaseRef";
    /** #(SHARP) */
    public static final String SHARP_VALUE = "#";
    /** INDENT */
    public static final String INDENT_VALUE = "indent";
    /** YES */
    public static final String YES_VALUE = "yes";
    /** :(colon) */
    public static final String COLON_TYPE = ":";
    /** ZERO_VALUE */
    public static final String ZERO_VALUE = "0";
    /** ONE_VALUE */
    public static final String ONE_VALUE = "1";
    /** TWO_VALUE */
    public static final String TWO_VALUE = "2";
    /** THREE_VALUE */
    public static final String THREE_VALUE = "3";
    /** FOUR_VALUE */
    public static final String FOUR_VALUE = "4";
}