Class Position

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType

    public class Position
    extends Crmbaseentity
    implements com.github.davidmoten.odata.client.ODataEntityType
    • Field Detail

      • _createdonbehalfby_value

        protected UUID _createdonbehalfby_value
      • _modifiedby_value

        protected UUID _modifiedby_value
      • _parentpositionid_value

        protected UUID _parentpositionid_value
      • _organizationid_value

        protected UUID _organizationid_value
      • _createdby_value

        protected UUID _createdby_value
      • utcconversiontimezonecode

        protected Integer utcconversiontimezonecode
      • positionid

        protected UUID positionid
      • statuscode

        protected Integer statuscode
      • _transactioncurrencyid_value

        protected UUID _transactioncurrencyid_value
      • versionnumber

        protected Long versionnumber
      • description

        protected String description
      • statecode

        protected Integer statecode
      • _modifiedonbehalfby_value

        protected UUID _modifiedonbehalfby_value
      • timezoneruleversionnumber

        protected Integer timezoneruleversionnumber
      • importsequencenumber

        protected Integer importsequencenumber
    • Constructor Detail

      • Position

        protected Position()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class Crmbaseentity
      • builderPosition

        public static Position.Builder builderPosition()
        Returns a builder which is used to create a new instance of this class (given that this class is immutable).
        Returns:
        a new Builder for this class
      • getChangedFields

        public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
        Specified by:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class Crmbaseentity
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class Crmbaseentity
      • get_createdonbehalfby_value

        public Optional<UUID> get_createdonbehalfby_value()
      • with_createdonbehalfby_value

        public Position with_createdonbehalfby_value​(UUID _createdonbehalfby_value)
      • get_modifiedby_value

        public Optional<UUID> get_modifiedby_value()
      • with_modifiedby_value

        public Position with_modifiedby_value​(UUID _modifiedby_value)
      • get_parentpositionid_value

        public Optional<UUID> get_parentpositionid_value()
      • with_parentpositionid_value

        public Position with_parentpositionid_value​(UUID _parentpositionid_value)
      • get_organizationid_value

        public Optional<UUID> get_organizationid_value()
      • with_organizationid_value

        public Position with_organizationid_value​(UUID _organizationid_value)
      • get_createdby_value

        public Optional<UUID> get_createdby_value()
      • with_createdby_value

        public Position with_createdby_value​(UUID _createdby_value)
      • getUtcconversiontimezonecode

        public Optional<Integer> getUtcconversiontimezonecode()
      • withUtcconversiontimezonecode

        public Position withUtcconversiontimezonecode​(Integer utcconversiontimezonecode)
      • withPositionid

        public Position withPositionid​(UUID positionid)
      • get_transactioncurrencyid_value

        public Optional<UUID> get_transactioncurrencyid_value()
      • with_transactioncurrencyid_value

        public Position with_transactioncurrencyid_value​(UUID _transactioncurrencyid_value)
      • getVersionnumber

        public Optional<Long> getVersionnumber()
      • withVersionnumber

        public Position withVersionnumber​(Long versionnumber)
      • withDescription

        public Position withDescription​(String description)
      • get_modifiedonbehalfby_value

        public Optional<UUID> get_modifiedonbehalfby_value()
      • with_modifiedonbehalfby_value

        public Position with_modifiedonbehalfby_value​(UUID _modifiedonbehalfby_value)
      • getTimezoneruleversionnumber

        public Optional<Integer> getTimezoneruleversionnumber()
      • withTimezoneruleversionnumber

        public Position withTimezoneruleversionnumber​(Integer timezoneruleversionnumber)
      • getImportsequencenumber

        public Optional<Integer> getImportsequencenumber()
      • withImportsequencenumber

        public Position withImportsequencenumber​(Integer importsequencenumber)
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class Crmbaseentity
      • patch

        public Position patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class Crmbaseentity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected
      • put

        public Position put()
        Submits all fields for update and returns an immutable copy of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class Crmbaseentity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected