Class CatUrl

All Implemented Interfaces:
Serializable, Cloneable

public class CatUrl extends DataBaseObject
The Class CatUrl.
See Also:
  • Field Details

    • CAT_ID

      protected long CAT_ID
      The cat id.
    • URL_NAME

      protected String URL_NAME
      The url name.
    • category

      protected Category category
      The category.
    • url

      protected Url url
      The url.
  • Constructor Details

    • CatUrl

      public CatUrl()
      Instantiates a new cat url.
    • CatUrl

      public CatUrl(long categoryId, String urlName)
      Instantiates a new cat url.
      Parameters:
      categoryId - the category id
      urlName - the url name
  • Method Details

    • getCategoryId

      public long getCategoryId()
      Gets the category id.
      Returns:
      the category id
    • setCategoryId

      public void setCategoryId(long param)
      Sets the category id.
      Parameters:
      param - the new category id
    • setCategoryId

      public void setCategoryId(String param)
      Sets the category id.
      Parameters:
      param - the new category id
    • getUrlName

      public String getUrlName()
      Gets the url name.
      Returns:
      the url name
    • setUrlName

      public void setUrlName(String param)
      Sets the url name.
      Parameters:
      param - the new url name
    • getCategory

      public Category getCategory()
      Gets the category.
      Returns:
      the category
    • setCategory

      public void setCategory(Category param)
      Sets the category.
      Parameters:
      param - the new category
    • getUrl

      public Url getUrl()
      Gets the url.
      Returns:
      the url
    • setUrl

      public void setUrl(Url param)
      Sets the url.
      Parameters:
      param - the new url
    • hashCode

      public int hashCode()
      Hash code.
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Equals.
      Overrides:
      equals in class Object