Methods Summary |
---|
public boolean | equals(java.lang.Object o)
if ( this == o ) return true;
if ( !( o instanceof Category ) ) return false;
final Category category = ( Category ) o;
if ( !name.equals( category.name ) ) {
return false;
}
if ( effectiveEndDate != null ?
!effectiveEndDate.equals( category.effectiveEndDate ) :
category.effectiveEndDate != null ) {
return false;
}
if ( effectiveStartDate != null ?
!effectiveStartDate.equals( category.effectiveStartDate ) :
category.effectiveStartDate != null ) {
return false;
}
return true;
|
public java.util.Date | getEffectiveEndDate()
return effectiveEndDate;
|
public java.util.Date | getEffectiveStartDate()
return effectiveStartDate;
|
public java.lang.Long | getId()
return id;
|
public java.lang.String | getName()
return name;
|
public java.util.Set | getProducts()
return products;
|
public int | hashCode()
int result;
result = name.hashCode();
result = 29 * result + ( effectiveStartDate != null ? effectiveStartDate.hashCode() : 0 );
result = 29 * result + ( effectiveEndDate != null ? effectiveEndDate.hashCode() : 0 );
return result;
|
public void | setEffectiveEndDate(java.util.Date effectiveEndDate)
this.effectiveEndDate = effectiveEndDate;
|
public void | setEffectiveStartDate(java.util.Date effectiveStartDate)
this.effectiveStartDate = effectiveStartDate;
|
public void | setId(java.lang.Long id)
this.id = id;
|
public void | setName(java.lang.String name)
this.name = name;
|
public void | setProducts(java.util.Set products)
this.products = products;
|