com.redhat.persistence.metadata
Class ObjectType
java.lang.Object
com.redhat.persistence.metadata.Element
com.redhat.persistence.metadata.ObjectType
- public class ObjectType
- extends com.redhat.persistence.metadata.Element
ObjectType
- Version:
- $Revision: #8 $ $Date: 2004/04/07 $
- Author:
- Rafael H. Schloming <rhs@mit.edu>
versionId
public static final String versionId
- See Also:
- Constant Field Values
ObjectType
public ObjectType(Model model,
String name,
ObjectType supertype)
getRoot
public Root getRoot()
getModel
public Model getModel()
getName
public String getName()
setJavaClass
public void setJavaClass(Class klass)
getJavaClass
public Class getJavaClass()
getQualifiedName
public String getQualifiedName()
getSupertype
public ObjectType getSupertype()
hasDeclaredProperty
public boolean hasDeclaredProperty(String name)
hasProperty
public boolean hasProperty(String name)
isKeyProperty
public boolean isKeyProperty(String name)
isKeyProperty
public boolean isKeyProperty(Property prop)
addProperty
public void addProperty(Property prop)
getDeclaredProperties
public Collection getDeclaredProperties()
getDeclaredProperty
public Property getDeclaredProperty(String name)
getProperties
public Collection getProperties()
getProperty
public Property getProperty(String name)
getProperty
public Property getProperty(Path path)
getType
public ObjectType getType(Path path)
exists
public boolean exists(Path path)
isKey
public boolean isKey(Path path)
isImmediate
public boolean isImmediate(Property prop)
isImmediate
public boolean isImmediate(Path path)
getKeyProperties
public List getKeyProperties()
getImmediateProperties
public List getImmediateProperties()
addImmediateProperty
public void addImmediateProperty(Property prop)
isKeyed
public boolean isKeyed()
hasKey
public boolean hasKey()
isCompound
public boolean isCompound()
getRoles
public Collection getRoles()
getBasetype
public ObjectType getBasetype()
isSubtypeOf
public boolean isSubtypeOf(String name)
isSubtypeOf
public boolean isSubtypeOf(ObjectType type)
toString
public String toString()
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC