public class BackreferencingCachehitMetaObject extends Object implements MetaObject
| Constructor and Description |
|---|
BackreferencingCachehitMetaObject(MetaObject metaObject,
ObjectAttribute referencingObjectAttribute)
Creates a new BackreferencingCachehitMetaObject object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAllAttributes(ObjectAttribute[] objectAttributes)
adds all attributes to the Object.
|
void |
addAttribute(ObjectAttribute anyAttribute)
Fügt ein Attribut in die davor vorgesehenen AtrributVectoren ein.
|
Object |
constructKey(Mapable m)
UNUSED.
|
boolean |
equals(Object obj) |
Object |
filter(User ug)
liefert eine fuer ug sichtbare Attributierung.
|
void |
forceStatus(int status)
DOCUMENT ME!
|
Object |
fromString(String objectRepresentation,
Object mo)
creates an Instance of this Object from a string representation.
|
HashMap |
getAllClasses()
DOCUMENT ME!
|
ObjectAttribute[] |
getAttribs()
beschafft eine Arrayrprenstation aller Attribute des Object.
|
ObjectAttribute |
getAttribute(String name)
retrieves an Attributed referenced by its name Please note that this method retrieves the first
attribute that matchtes if one needs all attributes matching he should use getAttributeByname().
|
ObjectAttribute |
getAttributeByFieldName(String fieldname)
Method from Hell liefert ein Attribut �ber den Fieldname Es wird davon ausgegangen, dass nur ObjectAttributes im
getAttributes() sind.
|
Collection<ObjectAttribute> |
getAttributeByName(String name,
int maxResult)
beschafft eine Collection welche alle Attribute enthält deren Schlüssel dem parameter name entsprechen.
|
LinkedHashMap<Object,ObjectAttribute> |
getAttributes()
getter for attribHash.
|
Collection<ObjectAttribute> |
getAttributesByName(Collection names)
beschafft eine Collection welche alle Attribute enthält deren Schlüssel dem parameter name entsprechen.
|
Collection<ObjectAttribute> |
getAttributesByType(Class c)
DOCUMENT ME!
|
Collection<ObjectAttribute> |
getAttributesByType(Class c,
int recursionDepth)
DOCUMENT ME!
|
CidsBean |
getBean()
DOCUMENT ME!
|
int |
getClassID()
getter for classID.
|
String |
getClassKey()
getter for classKey.
|
String |
getComplexEditor()
getter for complex editor.
|
String |
getDebugString()
DOCUMENT ME!
|
String |
getDescription()
getter for description.
|
String |
getDomain()
getter for domain.
|
String |
getEditor()
Getter for property editor.
|
String |
getGroup()
getter for grouping criterion in this case the domain (in the sense of the group by clause in SQL).
|
int |
getId()
DOCUMENT ME!
|
int |
getID()
getter for ID.
|
Object |
getKey()
key of the form classId.objectID.
|
org.apache.log4j.Logger |
getLogger()
DOCUMENT ME!
|
MetaClass |
getMetaClass()
DOCUMENT ME!
|
String |
getName()
getter for name.
|
FromStringCreator |
getObjectCreator()
DOCUMENT ME!
|
ObjectAttribute |
getPrimaryKey()
geter for primaryKey.
|
String |
getPropertyString()
DOCUMENT ME!
|
ObjectAttribute |
getReferencingObjectAttribute()
DOCUMENT ME!
|
String |
getRenderer()
getter for renderer.
|
String |
getSimpleEditor()
getter for simple editor.
|
int |
getStatus()
geter for status.
|
String |
getStatusDebugString()
DOCUMENT ME!
|
Collection<ObjectAttribute> |
getTraversedAttributesByType(Class c)
DOCUMENT ME!
|
Collection |
getURLs(Collection classKeys)
DOCUMENT ME!
|
Collection |
getURLsByName(Collection classKeys,
Collection urlNames)
DOCUMENT ME!
|
int |
hashCode() |
boolean |
hasObjectReadPermission(User user)
DOCUMENT ME!
|
boolean |
hasObjectWritePermission(User user)
DOCUMENT ME!
|
boolean |
isChanged()
Getter for property changed.
|
boolean |
isDummy()
getter for dummy.
|
boolean |
isPersistent()
Getter for property persistent.
|
boolean |
isStringCreateable()
indicates whether fromString() can be called.
|
boolean |
propertyEquals(MetaObject tester)
DOCUMENT ME!
|
void |
removeAttribute(ObjectAttribute anyAttribute)
DOCUMENT ME!
|
void |
setAllClasses()
DOCUMENT ME!
|
void |
setAllClasses(HashMap classes)
DOCUMENT ME!
|
void |
setAllStatus(int status)
sets the same status for all Objects in the hirarchy recursively.
|
void |
setArrayKey2PrimaryKey()
DOCUMENT ME!
|
void |
setChanged(boolean changed)
Setter for property changed.
|
void |
setDummy(boolean dummy)
setter for dummy.
|
void |
setEditor(String editor)
Setter for property editor.
|
void |
setID(int objectID)
DOCUMENT ME!
|
void |
setMetaClass(MetaClass metaClass)
DOCUMENT ME!
|
void |
setPersistent(boolean persistent)
Setter for property persistent.
|
boolean |
setPrimaryKey(Object key)
setter for the primary key sets the value of the attribute being primary key.
|
void |
setPrimaryKeysNull()
DOCUMENT ME!
|
void |
setReferencingObjectAttribute(ObjectAttribute referencingObjectAttribute)
DOCUMENT ME!
|
void |
setRenderer(String renderer)
Setter for property renderer.
|
void |
setStatus(int status)
setter for status.
|
void |
setValuesNull()
initializes all attributes with NULL.
|
String |
toString() |
String |
toString(HashMap classes)
DOCUMENT ME!
|
public BackreferencingCachehitMetaObject(MetaObject metaObject, ObjectAttribute referencingObjectAttribute)
metaObject - DOCUMENT ME!referencingObjectAttribute - DOCUMENT ME!public HashMap getAllClasses()
MetaObjectgetAllClasses in interface MetaObjectpublic CidsBean getBean()
MetaObjectgetBean in interface MetaObjectpublic String getClassKey()
MetaObjectgetClassKey in interface MetaObjectpublic String getComplexEditor()
MetaObjectgetComplexEditor in interface MetaObjectgetComplexEditor in interface Editablepublic String getDebugString()
MetaObjectgetDebugString in interface MetaObjectpublic String getDescription()
MetaObjectgetDescription in interface MetaObjectpublic String getDomain()
MetaObjectgetDomain in interface MetaObjectpublic String getEditor()
MetaObjectgetEditor in interface MetaObjectpublic String getGroup()
MetaObjectgetGroup in interface MetaObjectgetGroup in interface Groupablepublic int getId()
GroupablegetId in interface MetaObjectgetId in interface Groupablepublic org.apache.log4j.Logger getLogger()
MetaObjectgetLogger in interface MetaObjectpublic MetaClass getMetaClass()
MetaObjectgetMetaClass in interface MetaObjectpublic String getName()
MetaObjectgetName in interface MetaObjectpublic String getPropertyString()
MetaObjectgetPropertyString in interface MetaObjectpublic String getRenderer()
MetaObjectgetRenderer in interface MetaObjectgetRenderer in interface Renderablepublic String getSimpleEditor()
MetaObjectgetSimpleEditor in interface MetaObjectgetSimpleEditor in interface Editablepublic Collection getURLs(Collection classKeys)
MetaObjectgetURLs in interface MetaObjectclassKeys - DOCUMENT ME!public Collection getURLsByName(Collection classKeys, Collection urlNames)
MetaObjectgetURLsByName in interface MetaObjectclassKeys - DOCUMENT ME!urlNames - DOCUMENT ME!public boolean isChanged()
MetaObjectisChanged in interface MetaObjectpublic boolean hasObjectReadPermission(User user)
MetaObjecthasObjectReadPermission in interface MetaObjectuser - DOCUMENT ME!public boolean hasObjectWritePermission(User user)
MetaObjecthasObjectWritePermission in interface MetaObjectuser - DOCUMENT ME!public boolean propertyEquals(MetaObject tester)
MetaObjectpropertyEquals in interface MetaObjecttester - DOCUMENT ME!public void setAllClasses(HashMap classes)
MetaObjectsetAllClasses in interface MetaObjectclasses - DOCUMENT ME!public void setAllClasses()
MetaObjectsetAllClasses in interface MetaObjectpublic void setAllStatus(int status)
MetaObjectsetAllStatus in interface MetaObjectstatus - DOCUMENT ME!public void setArrayKey2PrimaryKey()
MetaObjectsetArrayKey2PrimaryKey in interface MetaObjectpublic void setChanged(boolean changed)
MetaObjectsetChanged in interface MetaObjectchanged - New value of property changed.public void setEditor(String editor)
MetaObjectsetEditor in interface MetaObjecteditor - New value of property editor.public void setMetaClass(MetaClass metaClass)
MetaObjectsetMetaClass in interface MetaObjectmetaClass - DOCUMENT ME!public boolean setPrimaryKey(Object key)
MetaObjectsetPrimaryKey in interface MetaObjectkey - value of the keypublic void setRenderer(String renderer)
MetaObjectsetRenderer in interface MetaObjectrenderer - New value of property renderer.public String toString(HashMap classes)
MetaObjecttoString in interface MetaObjectclasses - DOCUMENT ME!public void addAllAttributes(ObjectAttribute[] objectAttributes)
ObjectaddAllAttributes in interface ObjectobjectAttributes - attributes to be added to the Objectpublic void addAttribute(ObjectAttribute anyAttribute)
ObjectaddAttribute in interface ObjectanyAttribute - Objektattribute#longs,
#dates,
#doubles,
#longspublic Object constructKey(Mapable m)
ObjectconstructKey in interface ObjectconstructKey in interface Mapablem - UNUSEDpublic Object filter(User ug)
Objectpublic Object fromString(String objectRepresentation, Object mo) throws Exception
ObjectfromString(o.toSting())=o should be valid however this cannot be true in all thinkable situations
fromString in interface StringCreateablefromString in interface ObjectobjectRepresentation - string represntation of this Objectmo - templet of an ObjectException - java.lang.Exception error during consturction of an Objectpublic ObjectAttribute[] getAttribs()
ObjectgetAttribs in interface Object#longspublic ObjectAttribute getAttribute(String name)
ObjectgetAttribute in interface Objectname - Name des gewünschten Attributspublic ObjectAttribute getAttributeByFieldName(String fieldname)
ObjectgetAttributeByFieldName in interface Objectfieldname - DOCUMENT ME!public Collection<ObjectAttribute> getAttributeByName(String name, int maxResult)
ObjectgetAttributeByName in interface Objectname - Name/Schlüssel des AttributesmaxResult - DOCUMENT ME!public LinkedHashMap<Object,ObjectAttribute> getAttributes()
ObjectgetAttributes in interface Objectpublic Collection<ObjectAttribute> getAttributesByName(Collection names)
ObjectgetAttributesByName in interface Objectnames - Name/Schlüssel des Attributespublic Collection<ObjectAttribute> getAttributesByType(Class c, int recursionDepth)
ObjectgetAttributesByType in interface Objectc - DOCUMENT ME!recursionDepth - DOCUMENT ME!public Collection<ObjectAttribute> getAttributesByType(Class c)
ObjectgetAttributesByType in interface Objectc - DOCUMENT ME!public int getClassID()
ObjectgetClassID in interface Object#classIDpublic int getID()
Objectpublic Object getKey()
Objectpublic ObjectAttribute getPrimaryKey()
ObjectgetPrimaryKey in interface Objectpublic ObjectAttribute getReferencingObjectAttribute()
ObjectgetReferencingObjectAttribute in interface Objectpublic int getStatus()
Objectpublic String getStatusDebugString()
ObjectgetStatusDebugString in interface Objectpublic Collection<ObjectAttribute> getTraversedAttributesByType(Class c)
ObjectgetTraversedAttributesByType in interface Objectc - DOCUMENT ME!public boolean isDummy()
Objectpublic boolean isPersistent()
ObjectisPersistent in interface Objectpublic boolean isStringCreateable()
ObjectisStringCreateable in interface StringCreateableisStringCreateable in interface Objectpublic void removeAttribute(ObjectAttribute anyAttribute)
ObjectremoveAttribute in interface ObjectanyAttribute - DOCUMENT ME!public void setDummy(boolean dummy)
Objectpublic void setID(int objectID)
Objectpublic void setPersistent(boolean persistent)
ObjectsetPersistent in interface Objectpersistent - New value of property persistent.public void setPrimaryKeysNull()
ObjectsetPrimaryKeysNull in interface Objectpublic void setReferencingObjectAttribute(ObjectAttribute referencingObjectAttribute)
ObjectsetReferencingObjectAttribute in interface ObjectreferencingObjectAttribute - DOCUMENT ME!public void setStatus(int status)
Objectpublic void forceStatus(int status)
ObjectforceStatus in interface Objectstatus - DOCUMENT ME!public void setValuesNull()
ObjectsetValuesNull in interface Objectpublic FromStringCreator getObjectCreator()
ObjectgetObjectCreator in interface ObjectCopyright © 2012–2026 cismet GmbH. All rights reserved.