Class Responsibilities


  • public class Responsibilities
    extends java.lang.Object
    Responsibilities

    Describes the job responsibilities of a business representative.

    • Constructor Summary

      Constructors 
      Constructor Description
      Responsibilities()  
      Responsibilities​(java.util.Optional<java.lang.Boolean> isController, java.util.Optional<java.lang.Boolean> isOwner, java.util.Optional<java.lang.Long> ownershipPercentage, java.util.Optional<java.lang.String> jobTitle)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Responsibilities.Builder builder()  
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      java.util.Optional<java.lang.Boolean> isController()
      Indicates whether this individual has significant management responsibilities within the business.
      java.util.Optional<java.lang.Boolean> isOwner()
      If `true`, this field indicates that the individual has a business ownership stake of at least 25% in the business.
      java.util.Optional<java.lang.String> jobTitle()  
      java.util.Optional<java.lang.Long> ownershipPercentage()
      The percentage of ownership this individual has in the business (required if `isOwner` is `true`).
      java.lang.String toString()  
      Responsibilities withIsController​(boolean isController)
      Indicates whether this individual has significant management responsibilities within the business.
      Responsibilities withIsController​(java.util.Optional<java.lang.Boolean> isController)
      Indicates whether this individual has significant management responsibilities within the business.
      Responsibilities withIsOwner​(boolean isOwner)
      If `true`, this field indicates that the individual has a business ownership stake of at least 25% in the business.
      Responsibilities withIsOwner​(java.util.Optional<java.lang.Boolean> isOwner)
      If `true`, this field indicates that the individual has a business ownership stake of at least 25% in the business.
      Responsibilities withJobTitle​(java.lang.String jobTitle)  
      Responsibilities withJobTitle​(java.util.Optional<java.lang.String> jobTitle)  
      Responsibilities withOwnershipPercentage​(long ownershipPercentage)
      The percentage of ownership this individual has in the business (required if `isOwner` is `true`).
      Responsibilities withOwnershipPercentage​(java.util.Optional<java.lang.Long> ownershipPercentage)
      The percentage of ownership this individual has in the business (required if `isOwner` is `true`).
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Responsibilities

        public Responsibilities​(java.util.Optional<java.lang.Boolean> isController,
                                java.util.Optional<java.lang.Boolean> isOwner,
                                java.util.Optional<java.lang.Long> ownershipPercentage,
                                java.util.Optional<java.lang.String> jobTitle)
      • Responsibilities

        public Responsibilities()
    • Method Detail

      • isController

        public java.util.Optional<java.lang.Boolean> isController()
        Indicates whether this individual has significant management responsibilities within the business.
      • isOwner

        public java.util.Optional<java.lang.Boolean> isOwner()
        If `true`, this field indicates that the individual has a business ownership stake of at least 25% in the business. If the representative does not own at least 25% of the business, this field should be `false`.
      • ownershipPercentage

        public java.util.Optional<java.lang.Long> ownershipPercentage()
        The percentage of ownership this individual has in the business (required if `isOwner` is `true`).
      • jobTitle

        public java.util.Optional<java.lang.String> jobTitle()
      • withIsController

        public Responsibilities withIsController​(boolean isController)
        Indicates whether this individual has significant management responsibilities within the business.
      • withIsController

        public Responsibilities withIsController​(java.util.Optional<java.lang.Boolean> isController)
        Indicates whether this individual has significant management responsibilities within the business.
      • withIsOwner

        public Responsibilities withIsOwner​(boolean isOwner)
        If `true`, this field indicates that the individual has a business ownership stake of at least 25% in the business. If the representative does not own at least 25% of the business, this field should be `false`.
      • withIsOwner

        public Responsibilities withIsOwner​(java.util.Optional<java.lang.Boolean> isOwner)
        If `true`, this field indicates that the individual has a business ownership stake of at least 25% in the business. If the representative does not own at least 25% of the business, this field should be `false`.
      • withOwnershipPercentage

        public Responsibilities withOwnershipPercentage​(long ownershipPercentage)
        The percentage of ownership this individual has in the business (required if `isOwner` is `true`).
      • withOwnershipPercentage

        public Responsibilities withOwnershipPercentage​(java.util.Optional<java.lang.Long> ownershipPercentage)
        The percentage of ownership this individual has in the business (required if `isOwner` is `true`).
      • withJobTitle

        public Responsibilities withJobTitle​(java.lang.String jobTitle)
      • withJobTitle

        public Responsibilities withJobTitle​(java.util.Optional<java.lang.String> jobTitle)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object