|
Transfer version 1.1 | ||||
| FRAMES | |||||
WEB-INF.cftags.component
transfer.com.object.Object
public class Object
The Object defintion BO
| Constructor Summary | |
|---|---|
init(ObjectManager objectManager)
Constructor |
|
| Method Summary | |
|---|---|
private void |
addFunction(Function Function)
add a Custom Function |
void |
addManyToMany(ManyToMany manyToMany)
add a Many to Many |
void |
addManyToOne(ManyToOne manyToOne)
add a Many to Many |
void |
addOneToMany(OneToMany oneToMany)
add a One to Many |
void |
addParentManyToMany(ManyToMany manyToMany)
add a Parent Many to Many |
void |
addParentOneToMany(ParentOneToMany parentOneToMany)
add a Parent One to Many |
private void |
addProperty(Property Property)
Adds a property to the Object |
void |
clearManyToMany()
Removes all manytoone elements |
void |
clearManyToOne()
Removes all manytoone elements |
void |
clearOneToMany()
Removes all manytoone elements |
private void |
clearProperties()
clears the properies |
boolean |
containsManyToOne(string name)
returns if this object has this manytoone |
boolean |
containsParentOneToMany(string className)
Returns whether or not this object has this parent one to many |
string |
getClassName()
|
string |
getDecorator()
|
private array |
getFunction()
|
any |
getFunctionIterator()
Gets the java.util.Iterator for the list of custom functions |
string |
getHash()
|
string |
getLinkingClassName(string compositeName)
returns the linking class name, throws an CompositionNotFoundException if nothing is found |
private array |
getManyToMany()
|
array |
getManyToManyArrayByLink(string className, [string filterName])
returns an array of many to many properties that link to this class |
ManyToMany |
getManyToManyByName(string name)
Gets a ManyToMany by name. Throws ManyToManyNotFoundException if the ManyToMany doesn't exist |
any |
getManyToManyIterator()
Gets the java.util.Iterator for the list of Many to Many |
private array |
getManyToOne()
|
array |
getManyToOneArrayByLink(string className, [string filterName])
returns an array of many to one properties that link to this class |
ManyToOne |
getManyToOneByName(string name)
Gets a manytoone by name. Throws ManyToOneNotFoundException if the manytoone doesn't exist |
any |
getManyToOneIterator()
Gets the java.util.Iterator for the list of Many to One |
private ObjectManager |
getObjectManager()
|
string |
getObjectName()
|
private array |
getOneToMany()
|
array |
getOneToManyArrayByLink(string className, [string filterName])
returns an array of one to many properties that link to this class |
OneToMany |
getOneToManyByName(string name)
Gets a OneToMany by name. Throws OneToManyNotFoundException if the OneToMany doesn't exist |
any |
getOneToManyIterator()
Gets the java.util.Iterator for the list of One to Many |
private array |
getParentManyToMany()
|
any |
getParentManyToManyIterator()
Gets the java.util.Iterator for the list of Parent Many to Many |
private array |
getParentOneToMany()
|
ParentOneToMany |
getParentOneToManyByClass(string className)
Gets a Parent OneToMany by Class. Throws ParentOneToManyNotFoundException if the ParentOneToMany doesn't exist |
ParentOneToMany |
getParentOneToManyByName(string name)
Gets a Parent OneToMany by name. Throws ParentOneToManyNotFoundException if the ParentOneToMany doesn't exist |
any |
getParentOneToManyIterator()
Gets the java.util.Iterator for the list of Parent One to Many |
AbstractBaseKey |
getPrimaryKey()
|
private array |
getProperties()
|
Property |
getPropertyByName(string name)
Gets a property by name. Throws PropertyNotFoundException if the property doesn't exist |
any |
getPropertyIterator()
Gets the java.util.Iterator for the list of properties |
private struct |
getPropertyMap()
|
string |
getSequence()
|
string |
getTable()
|
string |
getTableAlias()
|
boolean |
hasDecorator()
|
boolean |
hasManyToMany()
Whether or not the object has any manytomany collections |
boolean |
hasManyToOne()
Whether or not the object has any manytoone collections |
boolean |
hasOneToMany()
Whether or not the object has any onetomany collections |
boolean |
hasParentManyToMany()
Whether or not the object has a parent manytomany collections |
boolean |
hasParentOneToMany()
Whether or not the object has a parent onetomany collections |
boolean |
hasProperty(string name)
does the object have a property of a given name |
boolean |
hasTableAlias()
if the object has a table alias |
package void |
notifyComplete()
notifies the object that it has finished loading, and can do post processing |
private void |
setClassName(string ClassName)
|
private void |
setDecorator(string Decorator)
|
private void |
setFunction(array Function)
|
private void |
setHash(string Hash)
|
private void |
setManyToMany(array ManyToMany)
|
private void |
setManyToOne(array ManyToOne)
|
void |
setMemento(struct memento)
Sets the state of the object |
private void |
setObjectManager(ObjectManager ObjectManager)
|
private void |
setObjectName(string ObjectName)
|
private void |
setOneToMany(array OneToMany)
|
private void |
setParentManyToMany(array manyToMany)
|
private void |
setParentOneToMany(array ParentOneToMany)
|
private void |
setPrimaryKey(AbstractBaseKey PrimaryKey)
|
private void |
setProperties(array Properties)
|
private void |
setPropertyMap(struct PropertyMap)
|
private void |
setSequence(string Sequence)
|
private void |
setTable(string Table)
|
private void |
setTableAlias(string tableAlias)
|
private any |
throw(string type, string message, [string detail=''])
Throws an Exception |
void |
validate()
Throws an exception if validation fails |
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
public init(ObjectManager objectManager)
objectManager - The object manager| Method Detail |
|---|
private void addFunction(Function Function)
Function - A Custom Function BOpublic void addManyToMany(ManyToMany manyToMany)
manyToMany - A Many to Many BOpublic void addManyToOne(ManyToOne manyToOne)
manyToOne - A Many to One BOpublic void addOneToMany(OneToMany oneToMany)
oneToMany - A One to Many BOpublic void addParentManyToMany(ManyToMany manyToMany)
manyToMany - A Many to Many BOpublic void addParentOneToMany(ParentOneToMany parentOneToMany)
parentOneToMany - A Parent to Many BOprivate void addProperty(Property Property)
Property - The property to addpublic void clearManyToMany()
public void clearManyToOne()
public void clearOneToMany()
private void clearProperties()
public boolean containsManyToOne(string name)
name - The name of the manytoonepublic boolean containsParentOneToMany(string className)
className - The class of the parent onetomanypublic string getClassName()
public string getDecorator()
private array getFunction()
public any getFunctionIterator()
public string getHash()
public string getLinkingClassName(string compositeName)
compositeName - The name of the composition to search forprivate array getManyToMany()
public array getManyToManyArrayByLink(string className, [string filterName])
className - the name of the class to search forfilterName - The many to many name to filter bypublic ManyToMany getManyToManyByName(string name)
name - The name of the propertypublic any getManyToManyIterator()
private array getManyToOne()
public array getManyToOneArrayByLink(string className, [string filterName])
className - the name of the class to search forfilterName - The many to many name to filter bypublic ManyToOne getManyToOneByName(string name)
name - The name of the manytoonepublic any getManyToOneIterator()
private ObjectManager getObjectManager()
public string getObjectName()
private array getOneToMany()
public array getOneToManyArrayByLink(string className, [string filterName])
className - the name of the class to search forfilterName - The many to many name to filter bypublic OneToMany getOneToManyByName(string name)
name - The name of the propertypublic any getOneToManyIterator()
private array getParentManyToMany()
public any getParentManyToManyIterator()
private array getParentOneToMany()
public ParentOneToMany getParentOneToManyByClass(string className)
className - The class of the parent onetomanypublic ParentOneToMany getParentOneToManyByName(string name)
name - The name of the parent onetoomanypublic any getParentOneToManyIterator()
public AbstractBaseKey getPrimaryKey()
private array getProperties()
public Property getPropertyByName(string name)
name - The name of the propertypublic any getPropertyIterator()
private struct getPropertyMap()
public string getSequence()
public string getTable()
public string getTableAlias()
public boolean hasDecorator()
public boolean hasManyToMany()
public boolean hasManyToOne()
public boolean hasOneToMany()
public boolean hasParentManyToMany()
public boolean hasParentOneToMany()
public boolean hasProperty(string name)
name - The name of the propertypublic boolean hasTableAlias()
package void notifyComplete()
private void setClassName(string ClassName)
ClassNameprivate void setDecorator(string Decorator)
Decoratorprivate void setFunction(array Function)
Functionprivate void setHash(string Hash)
Hashprivate void setManyToMany(array ManyToMany)
ManyToManyprivate void setManyToOne(array ManyToOne)
ManyToOnepublic void setMemento(struct memento)
memento - The memento to set the state of the objectprivate void setObjectManager(ObjectManager ObjectManager)
ObjectManagerprivate void setObjectName(string ObjectName)
ObjectNameprivate void setOneToMany(array OneToMany)
OneToManyprivate void setParentManyToMany(array manyToMany)
manyToManyprivate void setParentOneToMany(array ParentOneToMany)
ParentOneToManyprivate void setPrimaryKey(AbstractBaseKey PrimaryKey)
PrimaryKeyprivate void setProperties(array Properties)
Propertiesprivate void setPropertyMap(struct PropertyMap)
PropertyMapprivate void setSequence(string Sequence)
Sequenceprivate void setTable(string Table)
Tableprivate void setTableAlias(string tableAlias)
tableAliasprivate any throw(string type, string message, [string detail=''])
type - The type of exceptionmessage - The message to accompany the exceptiondetail - The detail message for the exceptionpublic void validate()
|
Transfer version 1.1 | ||||
| FRAMES | |||||