net.sf.spif.persistence
Class MatchProperty

java.lang.Object
  |
  +--net.sf.spif.persistence.PersistentProperty
        |
        +--net.sf.spif.persistence.MatchProperty

public class MatchProperty
extends PersistentProperty

Ignore - public for testing only.

A persistent property which is not matched by accessors in the owning type and thus must be matched by accessors in owned types.

Version:
$Id: MatchProperty.java,v 1.3 2003/02/13 22:13:44 bratseth Exp $
Author:
Jon S Bratseth

Constructor Summary
protected MatchProperty(java.lang.String name)
          Use PersistentProperty.newInstance(java.lang.String, java.lang.Class)
 
Method Summary
 boolean isMatched()
          Returns true if this property is matched
 void setMatched(java.lang.Class containedInType, java.lang.reflect.Method getter, java.lang.reflect.Method setter)
          Call when this persistent property gets matched to a class and accessors
 java.lang.String toString()
           
 
Methods inherited from class net.sf.spif.persistence.PersistentProperty
getGetter, getName, getOn, getSetter, getType, newInstance, setGetter, setOn, setSetter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MatchProperty

protected MatchProperty(java.lang.String name)
Use PersistentProperty.newInstance(java.lang.String, java.lang.Class)

Method Detail

setMatched

public void setMatched(java.lang.Class containedInType,
                       java.lang.reflect.Method getter,
                       java.lang.reflect.Method setter)
Call when this persistent property gets matched to a class and accessors


isMatched

public boolean isMatched()
Returns true if this property is matched

Overrides:
isMatched in class PersistentProperty

toString

public java.lang.String toString()
Overrides:
toString in class PersistentProperty


Spif 1.01 (2003-04-03). http://spif.sf.net