Library
core
classes
Core Src Data Lawinfo.lawinfo

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

Class: LawInfo

core/src/data/lawinfo.LawInfo

Hierarchy

Implements

Table of contents

Constructors

Properties

Methods

Constructors

constructor

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

Parameters

NameType
LawIDstring
LawNumstring
LawTitlestring
Enforcedboolean
Pathstring
XmlNamestring

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

NameType
xmlstring

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

fromBaseLawInfo(baseLawInfo): LawInfo

Parameters

NameType
baseLawInfoBaseLawInfo

Returns

LawInfo

Defined in

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


fromTuple

fromTuple(tuple): LawInfo

Parameters

NameType
tupleLawInfoListItem

Returns

LawInfo

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

Defined in

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