Lawtext core references / core/src/data/query / LawQueryItem
Class: LawQueryItem
Defined in: core/src/data/query.ts:562 (opens in a new tab)
LawQuery で列挙される、法令を表すオブジェクト。
Extends
Implements
QueryItem
Constructors
new LawQueryItem()
new LawQueryItem(
LawID,LawNum,LawTitle,Enforced,Path,XmlName):LawQueryItem
Defined in: core/src/data/lawinfo.ts:46 (opens in a new tab)
Parameters
LawID
string
LawNum
string
LawTitle
string
Enforced
boolean
Path
string
XmlName
string
Returns
Inherited from
Properties
_cache
protected_cache:object
Defined in: core/src/data/query.ts:588 (opens in a new tab)
document
document:
null|XMLDocument
el
el:
null|EL
imageData
imageData:
null|Uint8Array<ArrayBufferLike>
xml
xml:
null|string
[symbolDoNotFinalize]
[symbolDoNotFinalize]:
boolean=false
Defined in: core/src/data/query.ts:634 (opens in a new tab)
Implementation of
QueryItem.[symbolDoNotFinalize]
Enforced
Enforced:
boolean
Defined in: core/src/data/lawinfo.ts:40 (opens in a new tab)
施行済みかどうか
Inherited from
LawID
LawID:
string
Defined in: core/src/data/lawinfo.ts:31 (opens in a new tab)
法令ID
Inherited from
LawNum
LawNum:
string
Defined in: core/src/data/lawinfo.ts:34 (opens in a new tab)
法令番号
Inherited from
LawTitle
LawTitle:
string
Defined in: core/src/data/lawinfo.ts:37 (opens in a new tab)
法令名
Inherited from
loader
loader:
null|Loader=null
Defined in: core/src/data/query.ts:564 (opens in a new tab)
Path
Path:
string
Defined in: core/src/data/lawinfo.ts:42 (opens in a new tab)
Inherited from
ReferencedLawNums
ReferencedLawNums:
Set<string>
Defined in: core/src/data/lawinfo.ts:28 (opens in a new tab)
この法令を参照している法令の法令番号の一覧
Inherited from
ReferencingLawNums
ReferencingLawNums:
Set<string>
Defined in: core/src/data/lawinfo.ts:25 (opens in a new tab)
この法令が参照している法令の法令番号の一覧
Inherited from
XmlName
XmlName:
string
Defined in: core/src/data/lawinfo.ts:44 (opens in a new tab)
Inherited from
Methods
[symbolFinalyzeQueryItem]()
[symbolFinalyzeQueryItem]():
void
Defined in: core/src/data/query.ts:630 (opens in a new tab)
Returns
void
Implementation of
QueryItem.[symbolFinalyzeQueryItem]
addReferencingLawNums()
addReferencingLawNums(
xml):void
Defined in: core/src/data/lawinfo.ts:148 (opens in a new tab)
Parameters
xml
string
Returns
void
Inherited from
getDocument()
getDocument():
Promise<null|XMLDocument>
Defined in: core/src/data/query.ts:612 (opens in a new tab)
e-Gov 法令APIから法令XMLを取得し、XMLDocument として返します。
Returns
Promise<null | XMLDocument>
法令XMLの XMLDocument
getEl()
getEl():
Promise<null|EL>
Defined in: core/src/data/query.ts:621 (opens in a new tab)
Returns
Promise<null | EL>
getXML()
getXML():
Promise<null|string>
Defined in: core/src/data/query.ts:594 (opens in a new tab)
e-Gov 法令APIから法令XMLを取得します。
Returns
Promise<null | string>
法令XML
toBaseLawInfo()
toBaseLawInfo():
BaseLawInfo
Defined in: core/src/data/lawinfo.ts:75 (opens in a new tab)
Returns
Inherited from
toString()
toString():
string
Defined in: core/src/data/query.ts:640 (opens in a new tab)
「法令名(法令番号)」の形式の文字列を返します。未施行の場合は文頭に「【未施行】」を付します。
Returns
string
文字列
toTuple()
toTuple():
LawInfoListItem
Defined in: core/src/data/lawinfo.ts:62 (opens in a new tab)
Returns
Inherited from
fromBaseLawInfo()
staticfromBaseLawInfo(baseLawInfo):LawInfo
Defined in: core/src/data/lawinfo.ts:86 (opens in a new tab)
Parameters
baseLawInfo
Returns
Inherited from
fromLawInfo()
staticfromLawInfo(lawInfo,loader):LawQueryItem
Defined in: core/src/data/query.ts:565 (opens in a new tab)
Parameters
lawInfo
loader
null | Loader
Returns
fromTuple()
staticfromTuple(tuple):LawInfo
Defined in: core/src/data/lawinfo.ts:122 (opens in a new tab)
Parameters
tuple
Returns
Inherited from
getHeader()
staticgetHeader(): readonly ["LawID","LawNum","LawTitle","Enforced","Path","XmlName","ReferencingLawNums","ReferencedLawNums"]
Defined in: core/src/data/lawinfo.ts:109 (opens in a new tab)
Returns
readonly ["LawID", "LawNum", "LawTitle", "Enforced", "Path", "XmlName", "ReferencingLawNums", "ReferencedLawNums"]
Inherited from
initialCache()
protectedstaticinitialCache():object
Defined in: core/src/data/query.ts:581 (opens in a new tab)
Returns
object
document
document:
null|XMLDocument
el
el:
null|EL
imageData
imageData:
null|Uint8Array<ArrayBufferLike>
xml
xml:
null|string