new Ordinance( [json])
LDS ordinance
Parameters:
Name | Type | Argument | Description |
---|---|---|---|
json |
Object |
<optional> |
Extends
Methods
-
addField(field)
-
Add a field
Parameters:
Name Type Description field
Field - Inherited From:
Returns:
this- Type
- ExtensibleData
-
addLink(link)
-
Add a link
Parameters:
Name Type Description link
Link - Inherited From:
Returns:
this- Type
- ExtensibleData
-
addNote(note)
-
Add a note
Parameters:
Name Type Description note
Object | Note - Inherited From:
Returns:
This instance- Type
- Conclusion
-
addSource(source)
-
Add a source
Parameters:
Name Type Description source
SourceReference - Inherited From:
Returns:
This instance- Type
- Conclusion
-
getAnalysis()
-
Get analysis.
- Inherited From:
Returns:
analysis- Type
- ResourceReference
-
getAssignee()
-
Get the assignee
- Inherited From:
Returns:
assignee- Type
- ResourceReference
-
getAttribution()
-
Get the attribution.
- Inherited From:
Returns:
- Type
- Attribution
-
getConfidence()
-
Get the confidence.
- Inherited From:
Returns:
confidence- Type
- String
-
getDate()
-
Get the date
Returns:
date- Type
- Date
-
getFather()
-
Get the father
- Inherited From:
Returns:
father- Type
- ResourceReference
-
getFields()
-
Get the fields
- Inherited From:
Returns:
- Type
- Array.<Field>
-
getId()
-
Get the object's id.
- Inherited From:
Returns:
Id- Type
- String
-
getLang()
-
Get the language identifier.
- Inherited From:
Returns:
lang- Type
- String
-
getLink(rel)
-
Get a link
Parameters:
Name Type Description rel
String - Inherited From:
Returns:
- Type
- Link
-
getLinks()
-
Get the links
- Inherited From:
Returns:
- Type
- Array.<Link>
-
getLiving()
-
Get the living flag
Returns:
living- Type
- Boolean
-
getMother()
-
Get the mother
- Inherited From:
Returns:
mother- Type
- ResourceReference
-
getNotes()
-
Get the notes
- Inherited From:
Returns:
notes- Type
- Array.<Note>
-
getSortKey()
-
Get the sortKey
- Inherited From:
Returns:
sortKey- Type
- Boolean
-
getSources()
-
Get the sources
- Inherited From:
Returns:
- Type
- Array.<SourceReference>
-
getSpouse()
-
Get the spouse
- Inherited From:
Returns:
spouse- Type
- ResourceReference
-
getStatus()
-
Get the status
- Inherited From:
Returns:
status- Type
- String
-
getTempleCode()
-
Get the templeCode
Returns:
templeCode- Type
- String
-
getType()
-
Get the type
- Inherited From:
Returns:
type- Type
- String
-
init(json)
-
Initialize from JSON
Parameters:
Name Type Description json
Object - Overrides:
Returns:
Ordinance this -
<static> isInstance(obj)
-
Check whether the given object is an instance of this class.
Parameters:
Name Type Description obj
Object Returns:
- Type
- Boolean
-
setAnalysis(analysis)
-
Set the analysis
Parameters:
Name Type Description analysis
Object | ResourceReference - Inherited From:
Returns:
This instance- Type
- Conclusion
-
setAssignee(assignee)
-
Set the assignee
Parameters:
Name Type Description assignee
ResourceReference - Inherited From:
Returns:
this- Type
- Reservation
-
setAttribution(attribution)
-
Set the attribution
Parameters:
Name Type Description attribution
Object | Attribution - Inherited From:
Returns:
This instance- Type
- Conclusion
-
setConfidence(confidence)
-
Set the confidence.
Parameters:
Name Type Description confidence
String - Inherited From:
Returns:
This instance- Type
- Conclusion
-
setDate(date)
-
Set the date
Parameters:
Name Type Description date
Date Returns:
this- Type
- Ordinance
-
setFather(father)
-
Set the father
Parameters:
Name Type Description father
ResourceReference - Inherited From:
Returns:
this- Type
- Reservation
-
setFields(fields)
-
Set the fields
Parameters:
Name Type Description fields
Array.<Field> - Inherited From:
Returns:
this- Type
- ExtensibleData
-
setId(id)
-
Set the object's id.
Parameters:
Name Type Description id
String - Inherited From:
Returns:
This object, for chaining.- Type
- ExtensibleData
-
setLang(lang)
-
Set the language identifier.
Parameters:
Name Type Description lang
String - Inherited From:
Returns:
This instance.- Type
- Conclusion
-
setLinks(links)
-
Set the links
Parameters:
Name Type Description links
Links - Inherited From:
Returns:
this- Type
- ExtensibleData
-
setLiving(living)
-
Set the living
Parameters:
Name Type Description living
Boolean Returns:
this- Type
- Ordinance
-
setMother(mother)
-
Set the mother
Parameters:
Name Type Description mother
ResourceReference - Inherited From:
Returns:
this- Type
- Reservation
-
setNotes(notes)
-
Set the notes
Parameters:
Name Type Description notes
Array.<Object> | Array.<Note> - Inherited From:
Returns:
This instance- Type
- Conclusion
-
setSortKey(sortKey)
-
Set the sortKey
Parameters:
Name Type Description sortKey
Boolean - Inherited From:
Returns:
this- Type
- Conclusion
-
setSources(sources)
-
Set the sources
Parameters:
Name Type Description sources
Array.<Object> | Array.<SourceReference> - Inherited From:
Returns:
This instance- Type
- Conclusion
-
setSpouse(spouse)
-
Set the spouse
Parameters:
Name Type Description spouse
ResourceReference - Inherited From:
Returns:
this- Type
- Reservation
-
setStatus(status)
-
Set the status
Parameters:
Name Type Description status
String - Inherited From:
Returns:
this- Type
- Reservation
-
setTempleCode(templeCode)
-
Set the templeCode
Parameters:
Name Type Description templeCode
String Returns:
this- Type
- Ordinance
-
setType(type)
-
Set the type
Parameters:
Name Type Description type
String - Inherited From:
Returns:
this- Type
- Reservation
-
toJSON()
-
Export the object as JSON
- Overrides:
Returns:
JSON object- Type
- Object