Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (C) 2014-2015 Philip Helger (www.helger.com) philip[at]helger[dot]com Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
package com.helger.appbasics.object.accarea;
Base interface for an object that is uniquely assigned to an accounting area.

Author(s):
Philip Helger
{
  

Returns:
The accounting area ID to which the object is assigned to. May be null when using AbstractAccountingAreaOptionalObject.
See also:
getAccountingArea()

Returns:
The accounting area matching the given ID. May be null when using AbstractAccountingAreaOptionalObject.
Check if the passed object has the same client ID and the same accounting area ID as this object

Parameters:
aAccountingArea The object to check. May be null.
Returns:
true if this object and the passed object have the same client ID and the same accounting area ID
  boolean hasSameClientAndAccountingAreaID (@Nullable IAccountingArea aAccountingArea);

  
Check if the passed object has the same client ID and the same accounting area ID as this object

Parameters:
aAccountingAreaObject The object to check. May be null.
Returns:
true if this object and the passed object have the same client ID and the same accounting area ID
  boolean hasSameClientAndAccountingAreaID (@Nullable IAccountingAreaObject aAccountingAreaObject);
New to GrepCode? Check out our FAQ X