Holdings
¶
An
Opinion
’s announcement that it posits or rejects a legalRule
.Note that if an opinion merely says the court is not deciding whether a
Rule
is valid, there is noHolding
, and noRule
object should be created. Deciding not to decide aRule
’s validity is not the same thing as deciding that theRule
is undecided.- Parameters
rule (Rule) – a statement of a legal doctrine about a
Procedure
for litigation.rule_valid (bool) –
True
means theRule
is asserted to be valid (or useable by a court in litigation).False
means it’s asserted to be invalid.decided (bool) –
False
means that it should be deemed undecided whether theRule
is valid, and thus can have the effect of overruling prior holdings finding theRule
to be either valid or invalid. Seemingly,decided=False
should render therule_valid
flag irrelevant.selector – A text selector for the whole
Holding
, not for any individualFactor
. Often selects text used to indicate whether theRule
ismandatory
,universal
,valid
, ordecided
, or shows theexclusive
way to reach the outputs.
Call
Procedure
’scontext_factors()
method.- Return type
- Returns
context_factors from
self
’sProcedure
Get
Factor
s that can be replaced without changingself
s meaning.
Find context matches that would result in a contradiction with other.
- Parameters
other (
Factor
) – TheFactor
to be compared to self. Unlike withcontradicts()
, this method cannot be called with anOpinion
for other.- Return type
Iterator
[ContextRegister
]- Returns
a generator yielding
ContextRegister
s that cause a contradiction.
Test if
self
implies()
other
negated()
.Works by testing whether
self
would implyother
ifother
had an opposite value forrule_valid
.This method takes three main paths depending on whether the holdings
self
andother
assert that rules are decided or undecided.A
decided
Rule
can never contradict a previous statement that anyRule
was undecided.If rule A implies rule B, then a holding that B is undecided contradicts a prior
Rule
deciding that rule A is valid or invalid.- Return type
- Returns
whether
self
contradictsother
.
Generate
ContextRegister
s that cause self to imply other.If self is absent, then generate a ContextRegister from other’s point of view and then swap the keys and values.
- Return type
Iterator
[ContextRegister
]
Test for implication.
See
Procedure.implies_all_to_all()
andProcedure.implies_all_to_some()
for explanations of howinputs
,outputs
, anddespite
Factor
s affect implication.
Generate ways to match contexts of self and other so they mean the same.
- Return type
Iterator
[ContextRegister
]
Test whether
other
has the same meaning asself
.
Get new copy of
self
with an opposite value forrule_valid
.
Create new
Holding
, replacing keys ofchanges
with values.- Return type
- Returns
a version of
self
with the new context.
Return attributes of
self
that aren’t inherited from another class.Used for getting parameters to pass to
__init__()
when generating a new object.
Return str(self).