Class ItemState

    • Method Detail

      • setBits

        protected void setBits​(boolean toValue,
                               int bit)
      • setBits

        protected void setBits​(int bit)
      • resetBits

        protected void resetBits​(int bit)
      • isBit

        protected boolean isBit​(int bit)
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Throws:
        IOException
      • getPrototypeId

        @Nullable
        public ItemId getPrototypeId()
      • getType

        @Nonnull
        public String getType()
      • getView

        @Nullable
        public String getView()
      • getAnswer

        public Object getAnswer()
      • getValue

        public Object getValue()
      • isAnswered

        public boolean isAnswered()
      • isBlank

        public boolean isBlank()
      • isNull

        public boolean isNull()
      • isInvalidAnswers

        public boolean isInvalidAnswers()
      • isInvalid

        public boolean isInvalid()
      • isRequired

        public boolean isRequired()
      • isRowsCanBeAdded

        public boolean isRowsCanBeAdded()
      • isRowsCanBeRemoved

        public boolean isRowsCanBeRemoved()
      • hasCustomProps

        public boolean hasCustomProps()
      • getLabel

        public String getLabel()
      • getDescription

        public String getDescription()
      • getClassNames

        public List<String> getClassNames()
      • getItems

        @Nonnull
        public List<ItemId> getItems()
      • getAvailableItems

        public List<ItemId> getAvailableItems()
      • getAllowedActions

        public Set<io.dialob.api.proto.Action.Type> getAllowedActions()