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 classContract.Term.Offer.AnswerResponse to offer text.static classContract.Term.Offer.Builderstatic classContract.Term.Offer.PartyOffer 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 voidaccept(java.lang.String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static Contract.Term.Offer.Builderbuilder()booleanequals(java.lang.Object obj)java.util.List<Contract.Term.Offer.Answer>getAnswer()Response to offer text.CodeableConceptgetDecision()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.StringgetText()Human readable form of this Contract Offer.ReferencegetTopic()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.CodeableConceptgetType()Type of Contract Provision such as specific requirements, purposes for actions, obligations, prohibitions, e.g.booleanhasChildren()inthashCode()Contract.Term.Offer.BuildertoBuilder()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
Identifierthat 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.Partythat 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
Referencethat 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
CodeableConceptthat 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
CodeableConceptthat 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
CodeableConceptthat 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.Answerthat may be empty.
-
getText
public String getText()
Human readable form of this Contract Offer.- Returns:
- An immutable object of type
Stringthat 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
Stringthat 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
UnsignedIntthat may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildrenin classBackboneElement
-
accept
public void accept(java.lang.String elementName, int elementIndex, Visitor visitor)Description copied from interface:VisitableAccept 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:
acceptin interfaceVisitable- Specified by:
acceptin 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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toBuilder
public Contract.Term.Offer.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element- Specified by:
toBuilderin classBackboneElement
-
builder
public static Contract.Term.Offer.Builder builder()
-
-