Class Resource

  • All Implemented Interfaces:
    java.io.Serializable

    public class Resource
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Detail

      • Resource

        public Resource()
      • Resource

        public Resource​(java.lang.String name)
    • Method Detail

      • getName

        public java.lang.String getName()
      • setName

        public void setName​(java.lang.String name)
      • getAttributes

        public java.util.List<Attribute> getAttributes()
      • addAttribute

        public void addAttribute​(Attribute attribute)
      • setAttributes

        public void setAttributes​(java.util.List<Attribute> attributes)
      • getResources

        public java.util.List<Resource> getResources()
      • addResource

        public void addResource​(Resource resource)
      • setResources

        public void setResources​(java.util.List<Resource> resources)
      • hashCode

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object