Class Clause.ClauseImpl

java.lang.Object
cdm.legaldocumentation.master.Clause.ClauseImpl
All Implemented Interfaces:
Clause, com.rosetta.model.lib.RosettaModelObject
Enclosing interface:
Clause

public static class Clause.ClauseImpl extends Object implements Clause
Immutable Implementation of Clause
  • Constructor Details

  • Method Details

    • getIdentifier

      @RosettaAttribute("identifier") @RuneAttribute("identifier") public String getIdentifier()
      Description copied from interface: Clause
      The name or identifier associated to this clause
      Specified by:
      getIdentifier in interface Clause
    • getTerms

      @RosettaAttribute("terms") @RuneAttribute("terms") public String getTerms()
      Description copied from interface: Clause
      Content of this bespoke clause
      Specified by:
      getTerms in interface Clause
    • getSubcomponents

      @RosettaAttribute("subcomponents") @RuneAttribute("subcomponents") public List<? extends Clause> getSubcomponents()
      Description copied from interface: Clause
      Additional hierarchichal components of the clause if relevant
      Specified by:
      getSubcomponents in interface Clause
    • build

      public Clause build()
      Description copied from interface: Clause
      Build Methods
      Specified by:
      build in interface Clause
      Specified by:
      build in interface com.rosetta.model.lib.RosettaModelObject
    • toBuilder

      public Clause.ClauseBuilder toBuilder()
      Specified by:
      toBuilder in interface Clause
      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
    • setBuilderFields

      protected void setBuilderFields(Clause.ClauseBuilder builder)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object