Library
core
src
data
lawinfo
classes
Lawinfo

Lawtext core referencesDocs


Lawtext core references / core/src/data/lawinfo / LawInfo

Class: LawInfo

Extended by

Implements

Constructors

new LawInfo()

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

Parameters

LawID: string

LawNum: string

LawTitle: string

Enforced: boolean

Path: string

XmlName: string

Returns

LawInfo

Defined in

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

Properties

Enforced

Enforced: boolean

施行済みかどうか

Implementation of

BaseLawInfo.Enforced

Defined in

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


LawID

LawID: string

法令ID

Implementation of

BaseLawInfo.LawID

Defined in

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


LawNum

LawNum: string

法令番号

Implementation of

BaseLawInfo.LawNum

Defined in

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


LawTitle

LawTitle: string

法令名

Implementation of

BaseLawInfo.LawTitle

Defined in

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


Path

Path: string

Implementation of

BaseLawInfo.Path

Defined in

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


ReferencedLawNums

ReferencedLawNums: Set<string>

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

Defined in

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


ReferencingLawNums

ReferencingLawNums: Set<string>

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

Defined in

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


XmlName

XmlName: string

Implementation of

BaseLawInfo.XmlName

Defined in

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

Methods

addReferencingLawNums()

addReferencingLawNums(xml): void

Parameters

xml: string

Returns

void

Defined in

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


toBaseLawInfo()

toBaseLawInfo(): BaseLawInfo

Returns

BaseLawInfo

Defined in

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


toTuple()

toTuple(): LawInfoListItem

Returns

LawInfoListItem

Defined in

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


fromBaseLawInfo()

static fromBaseLawInfo(baseLawInfo): LawInfo

Parameters

baseLawInfo: BaseLawInfo

Returns

LawInfo

Defined in

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


fromTuple()

static fromTuple(tuple): LawInfo

Parameters

tuple: LawInfoListItem

Returns

LawInfo

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"]

Defined in

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