org.javagen.agile.oo.model
Class Class
java.lang.Object
org.javagen.agile.core.model.AbstractModel
org.javagen.agile.oo.model.Class
- All Implemented Interfaces:
- Serializable, ContextHolder, Model
public class Class
- extends AbstractModel
Models a Object-Oriented class.
- Author:
- Richard Easterling
- See Also:
- Serialized Form
| Methods inherited from class org.javagen.agile.core.model.AbstractModel |
addChildModel, allOwnedModels, get, getChildModels, getContext, getId, getModelType, getName, getParentModel, lookupChildByName, put, setChildModels, setContext, setId, setModelType, setName, setParentModel, toString |
EMPTY_STRING_ARRAY
public static final String[] EMPTY_STRING_ARRAY
DEFAULT_MODEL_TYPE
public static final String DEFAULT_MODEL_TYPE
- See Also:
- Constant Field Values
code
protected String code
Class
public Class()
Class
public Class(String name)
copyTo
public void copyTo(Model targetModel)
- Description copied from interface:
Model
- Copy non-null properties into target model instance. Child values are generally not copied.
Used in conjunction with XML serialization to allow individual model instances to be
custimized.
- Specified by:
copyTo in interface Model- Overrides:
copyTo in class AbstractModel
- Parameters:
targetModel - model to set properties on
getProperties
public List<Property> getProperties()
lookupProperty
public Property lookupProperty(String name)
toReference
public Reference toReference(Property prop)
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class AbstractModel
Copyright 2006-2006-2007 Outsource Cafe Inc.. All Rights Reserved.