Package com.ibm.fhir.model.resource
Class Contract.Term
- 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
-
- All Implemented Interfaces:
Visitable
- Enclosing class:
- Contract
public static class Contract.Term extends BackboneElement
One or more Contract Provisions, which may be related and conveyed as a group, and may contain nested groups.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classContract.Term.ActionAn actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place.static classContract.Term.AssetContract Term Asset List.static classContract.Term.Builderstatic classContract.Term.OfferThe matter of concern in the context of this provision of the agrement.static classContract.Term.SecurityLabelSecurity labels that protect the handling of information about the term and its elements, which may be specifically identified..
-
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(String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static Contract.Term.Builderbuilder()booleanequals(Object obj)List<Contract.Term.Action>getAction()An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place.PeriodgetApplies()Relevant time or time-period when this Contract Provision is applicable.List<Contract.Term.Asset>getAsset()Contract Term Asset List.List<Contract.Term>getGroup()Nested group of Contract Provisions.IdentifiergetIdentifier()Unique identifier for this particular Contract Provision.DateTimegetIssued()When this Contract Provision was issued.Contract.Term.OffergetOffer()The matter of concern in the context of this provision of the agrement.List<Contract.Term.SecurityLabel>getSecurityLabel()Security labels that protect the handling of information about the term and its elements, which may be specifically identified..CodeableConceptgetSubType()A specialized legal clause or condition based on overarching contract type.StringgetText()Statement of a provision in a policy or a contract.ElementgetTopic()The entity that the term applies to.CodeableConceptgetType()A legal clause or condition contained within a contract that requires one or both parties to perform a particular requirement by some specified time or prevents one or both parties from performing a particular requirement by some specified time.booleanhasChildren()inthashCode()Contract.Term.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 Identifier getIdentifier()
Unique identifier for this particular Contract Provision.- Returns:
- An immutable object of type
Identifierthat may be null.
-
getIssued
public DateTime getIssued()
When this Contract Provision was issued.- Returns:
- An immutable object of type
DateTimethat may be null.
-
getApplies
public Period getApplies()
Relevant time or time-period when this Contract Provision is applicable.- Returns:
- An immutable object of type
Periodthat may be null.
-
getTopic
public Element getTopic()
The entity that the term applies to.- Returns:
- An immutable object of type
Elementthat may be null.
-
getType
public CodeableConcept getType()
A legal clause or condition contained within a contract that requires one or both parties to perform a particular requirement by some specified time or prevents one or both parties from performing a particular requirement by some specified time.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getSubType
public CodeableConcept getSubType()
A specialized legal clause or condition based on overarching contract type.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getText
public String getText()
Statement of a provision in a policy or a contract.- Returns:
- An immutable object of type
Stringthat may be null.
-
getSecurityLabel
public List<Contract.Term.SecurityLabel> getSecurityLabel()
Security labels that protect the handling of information about the term and its elements, which may be specifically identified..- Returns:
- An unmodifiable list containing immutable objects of type
Contract.Term.SecurityLabelthat may be empty.
-
getOffer
public Contract.Term.Offer getOffer()
The matter of concern in the context of this provision of the agrement.- Returns:
- An immutable object of type
Contract.Term.Offerthat is non-null.
-
getAsset
public List<Contract.Term.Asset> getAsset()
Contract Term Asset List.- Returns:
- An unmodifiable list containing immutable objects of type
Contract.Term.Assetthat may be empty.
-
getAction
public List<Contract.Term.Action> getAction()
An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place.- Returns:
- An unmodifiable list containing immutable objects of type
Contract.Term.Actionthat may be empty.
-
getGroup
public List<Contract.Term> getGroup()
Nested group of Contract Provisions.- Returns:
- An unmodifiable list containing immutable objects of type
Contract.Termthat may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildrenin classBackboneElement
-
accept
public void accept(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
-
toBuilder
public Contract.Term.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.Builder builder()
-
-