public class DefaultMetaObject extends DefaultObject implements MetaObject, de.cismet.connectioncontext.ConnectionContextStore
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
changed
this object was changed (needs to be modified according to status).
|
protected String |
domain
domain (localserver) of where this object is hosted.
|
protected String |
editor
this objects editor.
|
protected String |
renderer
this objects renderer.
|
attribHash, classID, dummy, objectID, persistent, referencingObjectAttribute| Constructor and Description |
|---|
DefaultMetaObject(Object o,
String domain)
constructs a metaObject out of a (server) object.
|
DefaultMetaObject(Object o,
String domain,
User user)
constructs a metaObject out of a (server) object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(ObjectAttribute objectAttribute)
Fügt ein Attribut in die davor vorgesehenen AtrributVectoren ein.
|
boolean |
equals(Object obj) |
HashMap |
getAllClasses()
DOCUMENT ME!
|
CidsBean |
getBean()
DOCUMENT ME!
|
String |
getClassKey()
getter for classKey.
|
String |
getComplexEditor()
getter for complex editor.
|
de.cismet.connectioncontext.ConnectionContext |
getConnectionContext() |
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!
|
org.apache.log4j.Logger |
getLogger()
DOCUMENT ME!
|
MetaClass |
getMetaClass()
DOCUMENT ME!
|
String |
getName()
getter for name.
|
String |
getPropertyString()
DOCUMENT ME!
|
String |
getRenderer()
getter for renderer.
|
String |
getSimpleEditor()
getter for simple editor.
|
Collection<String> |
getURLs(Collection classKeys)
DOCUMENT ME!
|
Collection<String> |
getURLsByName(Collection classKeys,
Collection urlNames)
DOCUMENT ME!
|
int |
hashCode() |
boolean |
hasObjectReadPermission(User user)
DOCUMENT ME!
|
boolean |
hasObjectWritePermission(User user)
DOCUMENT ME!
|
void |
initWithConnectionContext(de.cismet.connectioncontext.ConnectionContext connectionContext) |
boolean |
isChanged()
Deprecated.
|
boolean |
propertyEquals(MetaObject tester)
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)
Deprecated.
|
void |
setEditor(String editor)
Setter for property editor.
|
void |
setID(int objectID)
DOCUMENT ME!
|
void |
setMetaClass(MetaClass metaClass)
DOCUMENT ME!
|
boolean |
setPrimaryKey(Object key)
setter for the primary key sets the value of the attribute being primary key.
|
void |
setRenderer(String renderer)
Setter for property renderer.
|
String |
toString()
String representation of this DefaultObject.
|
String |
toString(HashMap classes)
DOCUMENT ME!
|
addAllAttributes, constructKey, filter, forceStatus, fromString, getAttribs, getAttribute, getAttributeByFieldName, getAttributeByName, getAttributes, getAttributesByName, getAttributesByType, getAttributesByType, getClassID, getID, getKey, getObjectCreator, getPrimaryKey, getReferencingObjectAttribute, getStatus, getStatusDebugString, getStatusDebugString, getTraversedAttributesByType, isDummy, isPersistent, isStringCreateable, removeAttribute, setDummy, setPersistent, setPrimaryKeysNull, setReferencingObjectAttribute, setStatus, setValuesNullclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAllAttributes, constructKey, filter, forceStatus, fromString, getAttribs, getAttribute, getAttributeByFieldName, getAttributeByName, getAttributes, getAttributesByName, getAttributesByType, getAttributesByType, getClassID, getID, getKey, getObjectCreator, getPrimaryKey, getReferencingObjectAttribute, getStatus, getStatusDebugString, getTraversedAttributesByType, isDummy, isPersistent, isStringCreateable, removeAttribute, setDummy, setPersistent, setPrimaryKeysNull, setReferencingObjectAttribute, setStatus, setValuesNullprotected String domain
protected boolean changed
protected String editor
protected String renderer
public DefaultMetaObject(Object o, String domain)
DefaultMetaObject(Sirius.server.localserver.object.Object, java.lang.String, Sirius.server.newuser.User)
should be used in order to build possibly contained LightweightMetaObjects properly.o - "server" objectdomain - domainpublic void addAttribute(ObjectAttribute objectAttribute)
DefaultObjectaddAttribute in interface ObjectaddAttribute in class DefaultObjectobjectAttribute - Objektattribute#longs,
#dates,
#doubles,
#longspublic HashMap getAllClasses()
MetaObjectgetAllClasses in interface MetaObjectpublic String getGroup()
getGroup in interface MetaObjectgetGroup in interface Groupablepublic String getDomain()
getDomain in interface MetaObjectpublic String getName()
getName in interface MetaObjectpublic String getDescription()
getDescription in interface MetaObjectpublic void setArrayKey2PrimaryKey()
MetaObjectsetArrayKey2PrimaryKey in interface MetaObjectpublic String toString(HashMap classes)
toString in interface MetaObjectclasses - DOCUMENT ME!public String getClassKey()
getClassKey in interface MetaObject@Deprecated public boolean isChanged()
isChanged in interface MetaObject@Deprecated public void setChanged(boolean changed)
setChanged in interface MetaObjectchanged - New value of property changed.public String getComplexEditor()
getComplexEditor in interface MetaObjectgetComplexEditor in interface Editablepublic String getSimpleEditor()
getSimpleEditor in interface MetaObjectgetSimpleEditor in interface Editablepublic String getRenderer()
getRenderer in interface MetaObjectgetRenderer in interface Renderablepublic String getEditor()
getEditor in interface MetaObjectpublic void setEditor(String editor)
setEditor in interface MetaObjecteditor - New value of property editor.public void setRenderer(String renderer)
setRenderer in interface MetaObjectrenderer - New value of property renderer.public boolean setPrimaryKey(Object key)
setPrimaryKey in interface MetaObjectkey - value of the keypublic void setAllStatus(int status)
setAllStatus in interface MetaObjectstatus - DOCUMENT ME!public Collection<String> getURLs(Collection classKeys)
MetaObjectgetURLs in interface MetaObjectclassKeys - DOCUMENT ME!public Collection<String> getURLsByName(Collection classKeys, Collection urlNames)
MetaObjectgetURLsByName in interface MetaObjectclassKeys - DOCUMENT ME!urlNames - DOCUMENT ME!public MetaClass getMetaClass()
MetaObjectgetMetaClass in interface MetaObjectpublic void setMetaClass(MetaClass metaClass)
MetaObjectsetMetaClass in interface MetaObjectmetaClass - DOCUMENT ME!public void setAllClasses(HashMap classes)
MetaObjectsetAllClasses in interface MetaObjectclasses - DOCUMENT ME!public void setAllClasses()
MetaObjectsetAllClasses 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 String toString()
public org.apache.log4j.Logger getLogger()
MetaObjectgetLogger in interface MetaObjectpublic int getId()
GroupablegetId in interface MetaObjectgetId in interface Groupablepublic String getDebugString()
MetaObjectgetDebugString in interface MetaObjectpublic String getPropertyString()
MetaObjectgetPropertyString in interface MetaObjectpublic boolean propertyEquals(MetaObject tester)
MetaObjectpropertyEquals in interface MetaObjecttester - DOCUMENT ME!public CidsBean getBean()
MetaObjectgetBean in interface MetaObjectpublic void setID(int objectID)
ObjectsetID in interface ObjectsetID in class DefaultObjectobjectID - DOCUMENT ME!public de.cismet.connectioncontext.ConnectionContext getConnectionContext()
getConnectionContext in interface de.cismet.connectioncontext.ConnectionContextProvidergetConnectionContext in interface de.cismet.connectioncontext.ConnectionContextStorepublic void initWithConnectionContext(de.cismet.connectioncontext.ConnectionContext connectionContext)
initWithConnectionContext in interface de.cismet.connectioncontext.ConnectionContextStoreCopyright © 2012–2026 cismet GmbH. All rights reserved.