Library
core
src
data
query
classes
Lawqueryitem

Lawtext core referencesDocs


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

Class: LawQueryItem

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

Extends

Implements

  • QueryItem

Constructors

new LawQueryItem()

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

Parameters

LawID: string

LawNum: string

LawTitle: string

Enforced: boolean

Path: string

XmlName: string

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

document

document: null | XMLDocument

el

el: null | EL

imageData

imageData: null | Uint8Array

xml

xml: null | 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

xml: string

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()

static fromBaseLawInfo(baseLawInfo): LawInfo

Parameters

baseLawInfo: BaseLawInfo

Returns

LawInfo

Inherited from

LawInfo.fromBaseLawInfo

Defined in

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


fromLawInfo()

static fromLawInfo(lawInfo, loader): LawQueryItem

Parameters

lawInfo: LawInfo

loader: null | Loader

Returns

LawQueryItem

Defined in

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


fromTuple()

static fromTuple(tuple): LawInfo

Parameters

tuple: LawInfoListItem

Returns

LawInfo

Inherited from

LawInfo.fromTuple

Defined in

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


getHeader()

static 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()

protected static initialCache(): object

Returns

object

document

document: null | XMLDocument

el

el: null | EL

imageData

imageData: null | Uint8Array

xml

xml: null | string

Defined in

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