WebObjects 5.4.2

com.webobjects.eoaccess
Class EOProperty

java.lang.Object
  extended by 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  EOEntity entity()
          Returns the prent entity of this property
 boolean equals(Object value)
           
 String initialCapitalName()
          Retunr the name of the property with teh frist initial capital
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, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EOProperty

public EOProperty()
Method Detail

entity

public abstract EOEntity entity()
Returns the prent entity of this property

Returns:

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.

initialCapitalName

public String initialCapitalName()
Retunr the name of the property with teh frist initial capital

Returns:

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()

equals

public boolean equals(Object value)
Overrides:
equals in class Object

Last updated June 2008

Copyright © 2000-2008 Apple Inc.