public boolean equals(Object other) {
         if ( (this == other ) ) return true;
		 if ( (other == null ) ) return false;
		 if ( !(other instanceof SubcategoriaId) ) return false;
		 SubcategoriaId castOther = ( SubcategoriaId ) other; 
         
		 return (this.getId()==castOther.getId())
 && (this.getIdcategoria()==castOther.getIdcategoria());
   }