Class CustomObjectEntity

    • Constructor Detail

      • CustomObjectEntity

        public CustomObjectEntity()
    • Method Detail

      • getId

        public Long getId()
        Gets value for attribute id
      • setId

        public void setId​(Long id)
        Sets value for attribute id
      • getName

        public String getName()
        Gets value for attribute name
      • setName

        public void setName​(String name)
        Sets value for attribute name
      • getDescription

        public String getDescription()
        Gets value for attribute description
      • setDescription

        public void setDescription​(String description)
        Sets value for attribute description
      • isAllowed

        public abstract boolean isAllowed​(String permission)
        Operation isAllowed Returns true if the permission on this object is granted
        Parameters:
        permission -
        Returns:
      • equals

        public boolean equals​(Object object)
        Returns true if the argument is an CustomObjectEntity instance and all identifiers for this entity equal the identifiers of the argument entity. Returns false otherwise.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Returns a hash code based on this entity's identifiers.
        Overrides:
        hashCode in class Object