Package com.iizix.prop
Class ReferenceString
java.lang.Object
com.iizix.prop.ReferenceString
- All Implemented Interfaces:
- Cloneable
The reference string object that also can contain a custom reference object.
- Author:
- Christopher Mindus
- Constructor SummaryConstructors
- Method SummaryModifier and TypeMethodDescription- clone()Clones the reference string.- booleanChecks if two reference strings are equal (including their object).- booleanChecks if two reference strings are equal (excluding their object).Gets the Reference Object.- voidSets the Reference Object.- toString()Converts to a String.
- Constructor Details- ReferenceStringCreates the String object.
 
- Method Details- setObjectSets the Reference Object.- Parameters:
- o- Any object or- nullfor none.
 
- getObjectGets the Reference Object.- Returns:
- The object set by setObject(Object).
 
- cloneClones the reference string.- Overrides:
- clonein class- Object
- Returns:
- A cloned ReferenceString instance, with the SAME object reference as set by setObject(Object).
 
- equalsOnlyReferenceStringChecks if two reference strings are equal (excluding their object). This method is used to check comparisons when saving a file.- Parameters:
- rs- The other reference string to compare with.
- Returns:
- true for equals, false otherwise.
 
- equalsChecks if two reference strings are equal (including their object). This is required in order for the reference property to fire notification events.
- toStringConverts to a String.