org.fuin.kickstart4j
Interface SimpleAttributesEqualsCapable

All Known Implementing Classes:
Config

public interface SimpleAttributesEqualsCapable

Object that can compare it's attributes to another object of the same type.


Method Summary
 boolean simpleAttributesEquals(Object theOther)
          Determines if all simple attributes ( boolean, byte, short, int, long, float, double, char Boolean, Byte, Short, Integer, Long, Float, Double, Character and String ) of the object are equal to the fields of the other object (using the Object.equals(Object) method).
 

Method Detail

simpleAttributesEquals

boolean simpleAttributesEquals(Object theOther)
Determines if all simple attributes ( boolean, byte, short, int, long, float, double, char Boolean, Byte, Short, Integer, Long, Float, Double, Character and String ) of the object are equal to the fields of the other object (using the Object.equals(Object) method). No complex types like lists, maps or sub-objects will be compared.

Parameters:
theOther - Object to compare with. If null or not an instance of this class then false will be returned.
Returns:
If all simple attributes are equal true else false.


Copyright © 2011 Future Invent Informationsmanagement GmbH. All Rights Reserved.