Package com.ibm.fhir.model.resource
Class Contract.Term.Offer
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.type.Element
-
- com.ibm.fhir.model.type.BackboneElement
-
- com.ibm.fhir.model.resource.Contract.Term.Offer
-
- All Implemented Interfaces:
Visitable
- Enclosing class:
- Contract.Term
public static class Contract.Term.Offer extends BackboneElement
The matter of concern in the context of this provision of the agrement.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Contract.Term.Offer.Answer
Response to offer text.static class
Contract.Term.Offer.Builder
static class
Contract.Term.Offer.Party
Offer Recipient.
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.type.BackboneElement
modifierExtension
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(java.lang.String elementName, int elementIndex, Visitor visitor)
Accept a Visitor and invoke the appropriate visit methods.static Contract.Term.Offer.Builder
builder()
boolean
equals(java.lang.Object obj)
java.util.List<Contract.Term.Offer.Answer>
getAnswer()
Response to offer text.CodeableConcept
getDecision()
Type of choice made by accepting party with respect to an offer made by an offeror/ grantee.java.util.List<CodeableConcept>
getDecisionMode()
How the decision about a Contract was conveyed.java.util.List<Identifier>
getIdentifier()
Unique identifier for this particular Contract Provision.java.util.List<String>
getLinkId()
The id of the clause or question text of the offer in the referenced questionnaire/response.java.util.List<Contract.Term.Offer.Party>
getParty()
Offer Recipient.java.util.List<UnsignedInt>
getSecurityLabelNumber()
Security labels that protects the offer.String
getText()
Human readable form of this Contract Offer.Reference
getTopic()
The owner of an asset has the residual control rights over the asset: the right to decide all usages of the asset in any way not inconsistent with a prior contract, custom, or law (Hart, 1995, p.CodeableConcept
getType()
Type of Contract Provision such as specific requirements, purposes for actions, obligations, prohibitions, e.g.boolean
hasChildren()
int
hashCode()
Contract.Term.Offer.Builder
toBuilder()
Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.BackboneElement
getModifierExtension
-
-
-
-
Method Detail
-
getIdentifier
public java.util.List<Identifier> getIdentifier()
Unique identifier for this particular Contract Provision.- Returns:
- An unmodifiable list containing immutable objects of type
Identifier
that may be empty.
-
getParty
public java.util.List<Contract.Term.Offer.Party> getParty()
Offer Recipient.- Returns:
- An unmodifiable list containing immutable objects of type
Contract.Term.Offer.Party
that may be empty.
-
getTopic
public Reference getTopic()
The owner of an asset has the residual control rights over the asset: the right to decide all usages of the asset in any way not inconsistent with a prior contract, custom, or law (Hart, 1995, p. 30).- Returns:
- An immutable object of type
Reference
that may be null.
-
getType
public CodeableConcept getType()
Type of Contract Provision such as specific requirements, purposes for actions, obligations, prohibitions, e.g. life time maximum benefit.- Returns:
- An immutable object of type
CodeableConcept
that may be null.
-
getDecision
public CodeableConcept getDecision()
Type of choice made by accepting party with respect to an offer made by an offeror/ grantee.- Returns:
- An immutable object of type
CodeableConcept
that may be null.
-
getDecisionMode
public java.util.List<CodeableConcept> getDecisionMode()
How the decision about a Contract was conveyed.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConcept
that may be empty.
-
getAnswer
public java.util.List<Contract.Term.Offer.Answer> getAnswer()
Response to offer text.- Returns:
- An unmodifiable list containing immutable objects of type
Contract.Term.Offer.Answer
that may be empty.
-
getText
public String getText()
Human readable form of this Contract Offer.- Returns:
- An immutable object of type
String
that may be null.
-
getLinkId
public java.util.List<String> getLinkId()
The id of the clause or question text of the offer in the referenced questionnaire/response.- Returns:
- An unmodifiable list containing immutable objects of type
String
that may be empty.
-
getSecurityLabelNumber
public java.util.List<UnsignedInt> getSecurityLabelNumber()
Security labels that protects the offer.- Returns:
- An unmodifiable list containing immutable objects of type
UnsignedInt
that may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildren
in classBackboneElement
-
accept
public void accept(java.lang.String elementName, int elementIndex, Visitor visitor)
Description copied from interface:Visitable
Accept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:if (visitor.preVisit(this)) { visitor.visitStart(elementName, elementIndex, this); if (visitor.visit(elementName, elementIndex, this)) { // visit children } visitor.visitEnd(elementName, elementIndex, this); visitor.postVisit(this); }
- Specified by:
accept
in interfaceVisitable
- Specified by:
accept
in classAbstractVisitable
- Parameters:
elementName
- the name of the element in the context of this visitelementIndex
- the index of the element in a list or -1 if it is not contained within a Listvisitor
- the visitor to use
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toBuilder
public Contract.Term.Offer.Builder toBuilder()
Description copied from class:Element
Create a new Builder from the contents of this Element- Specified by:
toBuilder
in classBackboneElement
-
builder
public static Contract.Term.Offer.Builder builder()
-
-