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
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
LawID
LawID:
string
Defined in: core/src/data/lawinfo.ts:31
法令ID
Inherited from
LawNum
LawNum:
string
Defined in: core/src/data/lawinfo.ts:34
法令番号
Inherited from
LawTitle
LawTitle:
string
Defined in: core/src/data/lawinfo.ts:37
法令名
Inherited from
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
ReferencedLawNums
ReferencedLawNums:
Set<string>
Defined in: core/src/data/lawinfo.ts:28
この法令を参照している法令の法令番号の一覧
Inherited from
ReferencingLawNums
ReferencingLawNums:
Set<string>
Defined in: core/src/data/lawinfo.ts:25
この法令が参照している法令の法令番号の一覧
Inherited from
XmlName
XmlName:
string
Defined in: core/src/data/lawinfo.ts:44
Inherited from
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
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
Inherited from
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
Inherited from
fromBaseLawInfo()
staticfromBaseLawInfo(baseLawInfo):LawInfo
Defined in: core/src/data/lawinfo.ts:86
Parameters
baseLawInfo
Returns
Inherited from
fromLawInfo()
staticfromLawInfo(lawInfo,loader):LawQueryItem
Defined in: core/src/data/query.ts:565
Parameters
lawInfo
loader
Loader | null
Returns
LawQueryItem
fromTuple()
staticfromTuple(tuple):LawInfo
Defined in: core/src/data/lawinfo.ts:121
Parameters
tuple
Returns
Inherited from
getHeader()
staticgetHeader(): 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
initialCache()
protectedstaticinitialCache():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