Library
core
classes
Core Src Data Query.lawqueryitem

Lawtext core references / core/src/data/query / LawQueryItem

Class: LawQueryItem

core/src/data/query.LawQueryItem

LawQuery で列挙される、法令を表すオブジェクト。

Hierarchy

Implements

  • QueryItem

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new LawQueryItem(LawID, LawNum, LawTitle, Enforced, Path, XmlName): LawQueryItem

Parameters

NameType
LawIDstring
LawNumstring
LawTitlestring
Enforcedboolean
Pathstring
XmlNamestring

Returns

LawQueryItem

Inherited from

LawInfo.constructor

Defined in

core/src/data/lawinfo.ts:46 (opens in a new tab)

Properties

Enforced

Enforced: boolean

施行済みかどうか

Inherited from

LawInfo.Enforced

Defined in

core/src/data/lawinfo.ts:40 (opens in a new tab)


LawID

LawID: string

法令ID

Inherited from

LawInfo.LawID

Defined in

core/src/data/lawinfo.ts:31 (opens in a new tab)


LawNum

LawNum: string

法令番号

Inherited from

LawInfo.LawNum

Defined in

core/src/data/lawinfo.ts:34 (opens in a new tab)


LawTitle

LawTitle: string

法令名

Inherited from

LawInfo.LawTitle

Defined in

core/src/data/lawinfo.ts:37 (opens in a new tab)


Path

Path: string

Inherited from

LawInfo.Path

Defined in

core/src/data/lawinfo.ts:42 (opens in a new tab)


ReferencedLawNums

ReferencedLawNums: Set<string>

この法令を参照している法令の法令番号の一覧

Inherited from

LawInfo.ReferencedLawNums

Defined in

core/src/data/lawinfo.ts:28 (opens in a new tab)


ReferencingLawNums

ReferencingLawNums: Set<string>

この法令が参照している法令の法令番号の一覧

Inherited from

LawInfo.ReferencingLawNums

Defined in

core/src/data/lawinfo.ts:25 (opens in a new tab)


XmlName

XmlName: string

Inherited from

LawInfo.XmlName

Defined in

core/src/data/lawinfo.ts:44 (opens in a new tab)


[symbolDoNotFinalize]

[symbolDoNotFinalize]: boolean = false

Implementation of

QueryItem.[symbolDoNotFinalize]

Defined in

core/src/data/query.ts:634 (opens in a new tab)


_cache

Protected _cache: Object

Type declaration

NameType
documentnull | XMLDocument
elnull | EL
imageDatanull | Uint8Array
xmlnull | string

Defined in

core/src/data/query.ts:588 (opens in a new tab)


loader

loader: null | Loader = null

Defined in

core/src/data/query.ts:564 (opens in a new tab)

Methods

[symbolFinalyzeQueryItem]

[symbolFinalyzeQueryItem](): void

Returns

void

Implementation of

QueryItem.[symbolFinalyzeQueryItem]

Defined in

core/src/data/query.ts:630 (opens in a new tab)


addReferencingLawNums

addReferencingLawNums(xml): void

Parameters

NameType
xmlstring

Returns

void

Inherited from

LawInfo.addReferencingLawNums

Defined in

core/src/data/lawinfo.ts:148 (opens in a new tab)


getDocument

getDocument(): Promise<null | XMLDocument>

e-Gov 法令APIから法令XMLを取得し、XMLDocument として返します。

Returns

Promise<null | XMLDocument>

法令XMLの XMLDocument

Defined in

core/src/data/query.ts:612 (opens in a new tab)


getEl

getEl(): Promise<null | EL>

Returns

Promise<null | EL>

Defined in

core/src/data/query.ts:621 (opens in a new tab)


getXML

getXML(): Promise<null | string>

e-Gov 法令APIから法令XMLを取得します。

Returns

Promise<null | string>

法令XML

Defined in

core/src/data/query.ts:594 (opens in a new tab)


toBaseLawInfo

toBaseLawInfo(): BaseLawInfo

Returns

BaseLawInfo

Inherited from

LawInfo.toBaseLawInfo

Defined in

core/src/data/lawinfo.ts:75 (opens in a new tab)


toString

toString(): string

「法令名(法令番号)」の形式の文字列を返します。未施行の場合は文頭に「【未施行】」を付します。

Returns

string

文字列

Defined in

core/src/data/query.ts:640 (opens in a new tab)


toTuple

toTuple(): LawInfoListItem

Returns

LawInfoListItem

Inherited from

LawInfo.toTuple

Defined in

core/src/data/lawinfo.ts:62 (opens in a new tab)


fromBaseLawInfo

fromBaseLawInfo(baseLawInfo): LawInfo

Parameters

NameType
baseLawInfoBaseLawInfo

Returns

LawInfo

Inherited from

LawInfo.fromBaseLawInfo

Defined in

core/src/data/lawinfo.ts:86 (opens in a new tab)


fromLawInfo

fromLawInfo(lawInfo, loader): LawQueryItem

Parameters

NameType
lawInfoLawInfo
loadernull | Loader

Returns

LawQueryItem

Defined in

core/src/data/query.ts:565 (opens in a new tab)


fromTuple

fromTuple(tuple): LawInfo

Parameters

NameType
tupleLawInfoListItem

Returns

LawInfo

Inherited from

LawInfo.fromTuple

Defined in

core/src/data/lawinfo.ts:122 (opens in a new tab)


getHeader

getHeader(): readonly ["LawID", "LawNum", "LawTitle", "Enforced", "Path", "XmlName", "ReferencingLawNums", "ReferencedLawNums"]

Returns

readonly ["LawID", "LawNum", "LawTitle", "Enforced", "Path", "XmlName", "ReferencingLawNums", "ReferencedLawNums"]

Inherited from

LawInfo.getHeader

Defined in

core/src/data/lawinfo.ts:109 (opens in a new tab)


initialCache

initialCache(): Object

Returns

Object

NameType
documentnull | XMLDocument
elnull | EL
imageDatanull | Uint8Array
xmlnull | string

Defined in

core/src/data/query.ts:581 (opens in a new tab)