Class LogicalDefinitionAxiom.Builder

  • Enclosing class:
    LogicalDefinitionAxiom

    @NotThreadSafe
    public static final class LogicalDefinitionAxiom.Builder
    extends Object
    Builds instances of type LogicalDefinitionAxiom. Initialize attributes and then invoke the build() method to create an immutable instance.

    Builder is not thread-safe and generally should not be stored in a field or collection, but instead used immediately to create instances.

    • Constructor Detail

      • Builder

        public Builder()
        Creates a builder for LogicalDefinitionAxiom instances.
         new LogicalDefinitionAxiom.Builder()
            .meta(org.geneontology.obographs.core.model.Meta | null) // nullable meta
            .definedClassId(String) // required definedClassId
            .addGenusId|addAllGenusIds(String) // genusIds elements
            .addRestriction|addAllRestrictions(ExistentialRestrictionExpression) // restrictions elements
            .build();