Skip to Content
LibraryCoreSrcDataQueryClassesClass: LawQueryItem

Lawtext core references


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

Class: LawQueryItem

Defined in: core/src/data/query.ts:562 

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

Extends

Implements

  • QueryItem

Constructors

Constructor

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

Defined in: core/src/data/lawinfo.ts:46 

Parameters

LawID

string

LawNum

string

LawTitle

string

Enforced

boolean

Path

string

XmlName

string

Returns

LawQueryItem

Inherited from

LawInfo.constructor

Properties

_cache

protected _cache: object

Defined in: core/src/data/query.ts:587 

document

document: XMLDocument | null

el

el: EL | null

imageData

imageData: Uint8Array<ArrayBufferLike> | null

xml

xml: string | null


[symbolDoNotFinalize]

[symbolDoNotFinalize]: boolean = false

Defined in: core/src/data/query.ts:633 

Implementation of

QueryItem.[symbolDoNotFinalize]


Enforced

Enforced: boolean

Defined in: core/src/data/lawinfo.ts:40 

施行済みかどうか

Inherited from

LawInfo.Enforced


LawID

LawID: string

Defined in: core/src/data/lawinfo.ts:31 

法令ID

Inherited from

LawInfo.LawID


LawNum

LawNum: string

Defined in: core/src/data/lawinfo.ts:34 

法令番号

Inherited from

LawInfo.LawNum


LawTitle

LawTitle: string

Defined in: core/src/data/lawinfo.ts:37 

法令名

Inherited from

LawInfo.LawTitle


loader

loader: Loader | null = null

Defined in: core/src/data/query.ts:564 


Path

Path: string

Defined in: core/src/data/lawinfo.ts:42 

Inherited from

LawInfo.Path


ReferencedLawNums

ReferencedLawNums: Set<string>

Defined in: core/src/data/lawinfo.ts:28 

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

Inherited from

LawInfo.ReferencedLawNums


ReferencingLawNums

ReferencingLawNums: Set<string>

Defined in: core/src/data/lawinfo.ts:25 

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

Inherited from

LawInfo.ReferencingLawNums


XmlName

XmlName: string

Defined in: core/src/data/lawinfo.ts:44 

Inherited from

LawInfo.XmlName

Methods

[symbolFinalyzeQueryItem]()

[symbolFinalyzeQueryItem](): void

Defined in: core/src/data/query.ts:629 

Returns

void

Implementation of

QueryItem.[symbolFinalyzeQueryItem]


addReferencingLawNums()

addReferencingLawNums(xml): void

Defined in: core/src/data/lawinfo.ts:147 

Parameters

xml

string

Returns

void

Inherited from

LawInfo.addReferencingLawNums


getDocument()

getDocument(): Promise<XMLDocument | null>

Defined in: core/src/data/query.ts:611 

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

Returns

Promise<XMLDocument | null>

法令XMLの XMLDocument


getEl()

getEl(): Promise<EL | null>

Defined in: core/src/data/query.ts:620 

Returns

Promise<EL | null>


getXML()

getXML(): Promise<string | null>

Defined in: core/src/data/query.ts:593 

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

Returns

Promise<string | null>

法令XML


toBaseLawInfo()

toBaseLawInfo(): BaseLawInfo

Defined in: core/src/data/lawinfo.ts:75 

Returns

BaseLawInfo

Inherited from

LawInfo.toBaseLawInfo


toString()

toString(): string

Defined in: core/src/data/query.ts:639 

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

Returns

string

文字列


toTuple()

toTuple(): LawInfoListItem

Defined in: core/src/data/lawinfo.ts:62 

Returns

LawInfoListItem

Inherited from

LawInfo.toTuple


fromBaseLawInfo()

static fromBaseLawInfo(baseLawInfo): LawInfo

Defined in: core/src/data/lawinfo.ts:86 

Parameters

baseLawInfo

BaseLawInfo

Returns

LawInfo

Inherited from

LawInfo.fromBaseLawInfo


fromLawInfo()

static fromLawInfo(lawInfo, loader): LawQueryItem

Defined in: core/src/data/query.ts:565 

Parameters

lawInfo

LawInfo

loader

Loader | null

Returns

LawQueryItem


fromTuple()

static fromTuple(tuple): LawInfo

Defined in: core/src/data/lawinfo.ts:121 

Parameters

tuple

LawInfoListItem

Returns

LawInfo

Inherited from

LawInfo.fromTuple


getHeader()

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

Defined in: core/src/data/lawinfo.ts:108 

Returns

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

Inherited from

LawInfo.getHeader


initialCache()

protected static initialCache(): object

Defined in: core/src/data/query.ts:580 

Returns

object

document

document: XMLDocument | null

el

el: EL | null

imageData

imageData: Uint8Array<ArrayBufferLike> | null

xml

xml: string | null

© 2017-2026 yamachi