WebObjects 5.2

com.webobjects.eoaccess
Class EOProperty

java.lang.Object
  |
  +--com.webobjects.eoaccess.EOProperty
Direct Known Subclasses:
EOAttribute, EORelationship

public abstract class EOProperty
extends Object

EOProperty is an abstract class that embodies the notion of an object that belongs to (is the property of) an EOEntity. The concrete subclasses of EOProperty in the Enterprise Objects Framework are EOAttribute and EORelationship.

See Also:
EOAttribute, EOEntity, EORelationship

Constructor Summary
EOProperty()
           
 
Method Summary
abstract  String name()
          An abstract method that should be implemented by subclasses to return the name of the property object.
abstract  String relationshipPath()
          An abstract method that should be implemented by subclasses to return a data path naming each component of a flattened property, separated by period characters ("."), or null if the receiver is not a flattened property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EOProperty

public EOProperty()
Method Detail

name

public abstract String name()
An abstract method that should be implemented by subclasses to return the name of the property object.
Returns:
Should return the name of the receiver.

relationshipPath

public abstract String relationshipPath()
An abstract method that should be implemented by subclasses to return a data path naming each component of a flattened property, separated by period characters ("."), or null if the receiver is not a flattened property.
Returns:
Should return the data path for the receiver, or null if the receiver is not flattened.
See Also:
EOAttribute, EOAttribute.relationshipPath(), EORelationship, EORelationship.relationshipPath()

Last updated Fri Feb 21 13:15:00 PST 2003.

Copyright © 2003 Apple Computer, Inc.