|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.spif.persistence.MatchProperties
Ignore - public for testing only.
The properties involved in matching at a TypePersister
.
That is - the properties not matched at this type (originating at the
type or coming down from the owner), and the properties coming from above
matched at this type.
Constructor Summary | |
MatchProperties(java.lang.Class type,
java.lang.String typePropertyName,
java.util.Map availableProperties)
Creates the match properties for a type given some available (unmatched) properties propagated from above. |
Method Summary | |
java.util.Iterator |
getMatchedIterator()
|
java.lang.String |
getMatchedString()
|
java.util.Map |
getUnmatched()
|
boolean |
hasMatches()
Returns whether there are some matched properties here |
void |
setUnmatched(java.util.Map properties)
Sets the unmatched properties to uase at this persistent type and below (dependents). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MatchProperties(java.lang.Class type, java.lang.String typePropertyName, java.util.Map availableProperties)
type
- the type to match fortypePropertyName
- the name of the property containing this type,
or null if this is a main type (not dependent)availableProperties
- the collection of available properties (from above).
The properties we match at this level is removed from this collection!.
So the collection can be passed to other dependents than this, wich
will have available only the properties still not matched.Method Detail |
public boolean hasMatches()
public void setUnmatched(java.util.Map properties)
public java.util.Iterator getMatchedIterator()
public java.util.Map getUnmatched()
public java.lang.String getMatchedString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |