/** * PUBLIC: * Indicates whether the passed fetch group is minimal. */ public boolean isMinimalFetchGroup(FetchGroup fetchGroup) { return this.minimalFetchGroup.equals(fetchGroup); }
/** * PUBLIC: * Indicates whether the passed fetch group contains all the attributes, no nesting. */ public boolean isFullFetchGroup(FetchGroup fetchGroup) { return this.fullFetchGroup.equals(fetchGroup); }
/** * PUBLIC: * Indicates whether the passed fetch group is minimal. */ public boolean isMinimalFetchGroup(FetchGroup fetchGroup) { return this.minimalFetchGroup.equals(fetchGroup); }
/** * PUBLIC: * Indicates whether the passed fetch group contains all the attributes, no nesting. */ public boolean isFullFetchGroup(FetchGroup fetchGroup) { return this.fullFetchGroup.equals(fetchGroup); }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; CubaEntityFetchGroup that = (CubaEntityFetchGroup) o; return wrappedFetchGroup.equals(that.wrappedFetchGroup); }