com.cassinidivision.oce.content
Class C_Image

java.lang.Object
  extended bycom.webobjects.eocontrol.EOCustomObject
      extended bycom.webobjects.eocontrol.EOGenericRecord
          extended bycom.cassinidivision.oce.content.base._C_Content
              extended bycom.cassinidivision.oce.content.C_Content
                  extended bycom.cassinidivision.oce.content.base._C_LeafContent
                      extended bycom.cassinidivision.oce.content.C_LeafContent
                          extended bycom.cassinidivision.oce.content.base._C_Image
                              extended bycom.cassinidivision.oce.content.C_Image
All Implemented Interfaces:
_EOPrivateMemento, EODeferredFaulting, EOEnterpriseObject, EOFaulting, EOKeyValueCoding, EOKeyValueCoding._BestBindingCreation._ForwardingBindingCheck, EOKeyValueCoding._KeyBindingCreation, EOKeyValueCodingAdditions, EORelationshipManipulation, EOValidation, NSKeyValueCoding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._ReflectionKeyBindingCreation.Callback, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, Serializable

public class C_Image
extends com.cassinidivision.oce.content.base._C_Image

A class storing information about given images.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class com.webobjects.eocontrol.EOGenericRecord
EOGenericRecord._DictionaryBinding, EOGenericRecord._LazyDictionaryBinding
 
Nested classes inherited from class com.webobjects.eocontrol.EOCustomObject
EOCustomObject._BooleanFieldBinding, EOCustomObject._FieldBinding, EOCustomObject._LazyFieldBinding, EOCustomObject._NumberFieldBinding
 
Nested classes inherited from class com.webobjects.eocontrol.EOKeyValueCodingAdditions
EOKeyValueCodingAdditions.DefaultImplementation, EOKeyValueCodingAdditions.Utility
 
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCoding
NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessor
 
Nested classes inherited from class com.webobjects.eocontrol.EOKeyValueCoding
EOKeyValueCoding._BestBindingCreation, EOKeyValueCoding._KeyBindingCreation, EOKeyValueCoding._StoredForwardingBinding
 
Nested classes inherited from class com.webobjects.foundation.NSValidation
NSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException
 
Nested classes inherited from class com.webobjects.eocontrol._EOPrivateMemento
_EOPrivateMemento.DefaultImplementation
 
Field Summary
static String CImageNoAlignment
           
 
Fields inherited from class com.webobjects.eocontrol.EOGenericRecord
_CLASS
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
_KeyPathSeparatorChar, KeyPathSeparator
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding
NullValue
 
Constructor Summary
C_Image()
           
 
Method Summary
 void appendExportXMLForPropertiesToString(StringBuffer returnString)
          Called during XML export to append XML corresponding to the receiver's properties (children) to the given string.
 void awakeFromInsertion(EOEditingContext ec)
          All newly-created content in the OCE system is immediately instantiated with the following values.
 C_Content copyIntoEC(EOEditingContext ec)
          Make a copy of the receiver into the given editing context.
 String defaultXMLRepresentation()
          Retrieves the default XML representation of the receiving content.
 StringBuffer exportXMLForAttributes()
          Called during XML export: builds a StringBuffer holding all the attribute name="value" pairs for the receiver's XML.
 void setStringCaption(String value)
          Set the image caption from a string value.
 String stringCaption()
          Retrieve a caption for an image as a string value.
 void takeAttributesFromDictionary(NSDictionary pList)
          Sets up the receiver's instance variables from given values.
 
Methods inherited from class com.cassinidivision.oce.content.base._C_Image
alignment, caption, height, setAlignment, setCaption, setHeight, setUrl, setWidth, url, width
 
Methods inherited from class com.cassinidivision.oce.content.C_Content
addCAttributeWithValues, addCharacterData, allParents, appendExportXMLForAdditionalAttributesToString, appendExportXMLForAttributeNamedKeyPathToString, appendExportXMLForAttributeNamedValueToString, appendExportXMLForAttributesToString, appendExportXMLForAttributeToString, appendExportXMLForClosingTagToString, appendExportXMLForEmptyTagToString, appendExportXMLForObjectToString, appendExportXMLForOpeningTagToString, appendExportXMLForPropertyNamedKeyPathToString, appendExportXMLForPropertyNamedValueToString, appendExportXMLForPropertyToString, appendStringValueForPropertyToString, contentAtContentPath, contentId, contentPath, contentWithContentIdInEditingContext, copyToNewParent, copyWithinEC, deleteSelf, endElement, forceDeleteSelf, globalIDsForSelfAndAllChildren, globalIDsForSelfAndAllLoadedChildren, longDebuggingOutput, moveToNewParent, renameSelf, selfAndAllLoadedChildren, selfOrSomeDescendantPublished, setDataPropertyFromDictionary, setDatePropertyFromDictionary, setNumberPropertyFromDictionary, setStringPropertyFromDictionary, setStringPropertyNamedKeyPathFromDictionary, sortField, startCAttributeList, startElementWithAttributes
 
Methods inherited from class com.cassinidivision.oce.content.base._C_Content
addToXmlAttributes, className, creationDate, modificationDate, name, parent, removeFromXmlAttributes, setClassName, setCreationDate, setModificationDate, setName, setParent, setXmlAttributes, setXmlLabel, xmlAttributes, xmlLabel
 
Methods inherited from class com.webobjects.eocontrol.EOGenericRecord
__setClassDescription, _keyGetBindingForKey, _keySetBindingForKey, _otherStorageBinding, _storedKeyGetBindingForKey, _storedKeySetBindingForKey, classDescription, usesDeferredFaultCreation
 
Methods inherited from class com.webobjects.eocontrol.EOCustomObject
__classDescription, __clearPendingChanges, __editingContext, __globalID, __hasAuxillaryObservers, __hasPendingChanges, __hasPendingUpdate, __isInitialized, __isPendingDeletion, __isPendingInsertion, __isShared, __lastSnapshot, __originalSnapshot, __retainCount, __setAuxillaryObservers, __setEditingContext, __setGlobalID, __setInitialized, __setLastSnapshot, __setOriginalSnapshot, __setPendingDeletion, __setPendingInsertion, __setPendingUpdate, __setRetainCount, __setShared, _createKeyGetBindingForKey, _createKeySetBindingForKey, _createStoredKeyGetBindingForKey, _createStoredKeySetBindingForKey, _fieldKeyBinding, _forwardingBindingNeededForClass, _methodKeyGetBinding, _methodKeySetBinding, addObjectToBothSidesOfRelationshipWithKey, addObjectToPropertyWithKey, allPropertyKeys, attributeKeys, awakeFromClientUpdate, awakeFromFetch, canAccessFieldsDirectly, changesFromSnapshot, classDescriptionForDestinationKey, clearFault, clearProperties, deleteRuleForRelationshipKey, editingContext, entityName, eoDescription, eoShallowDescription, equals, faultHandler, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hashCode, inverseForRelationshipKey, invokeRemoteMethod, isFault, isToManyKey, opaqueState, ownsDestinationObjectsForRelationshipKey, prepareValuesForClient, propagateDeleteWithEditingContext, reapplyChangesFromDictionary, removeObjectFromBothSidesOfRelationshipWithKey, removeObjectFromPropertyWithKey, shouldUseStoredAccessors, snapshot, storedValueForKey, takeStoredValueForKey, takeValueForKey, takeValueForKeyPath, takeValuesFromDictionary, takeValuesFromDictionaryWithMapping, toManyRelationshipKeys, toOneRelationshipKeys, toString, turnIntoFault, unableToSetNullForKey, updateFromSnapshot, userPresentableDescription, validateClientUpdate, validateForDelete, validateForInsert, validateForSave, validateForUpdate, validateTakeValueForKeyPath, validateValueForKey, valueForKey, valueForKeyPath, valuesForKeys, valuesForKeysWithMapping, willChange, willRead, willReadRelationship
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

CImageNoAlignment

public static final String CImageNoAlignment
See Also:
Constant Field Values
Constructor Detail

C_Image

public C_Image()
Method Detail

awakeFromInsertion

public void awakeFromInsertion(EOEditingContext ec)
Description copied from class: C_Content
All newly-created content in the OCE system is immediately instantiated with the following values.

Specified by:
awakeFromInsertion in interface EOEnterpriseObject
Overrides:
awakeFromInsertion in class C_Content
See Also:
EOEnterpriseObject.awakeFromInsertion(com.webobjects.eocontrol.EOEditingContext)

copyIntoEC

public C_Content copyIntoEC(EOEditingContext ec)
Description copied from class: C_Content
Make a copy of the receiver into the given editing context.

Does not copy XML attributes attached to the receiver, and does not copy the content ID or creation/modification dates, so a new copy will have a new identifier and timestamps.

Overrides:
copyIntoEC in class C_Content
Parameters:
ec - The editing context with which to create the copy.
Returns:
The new copy.

appendExportXMLForPropertiesToString

public void appendExportXMLForPropertiesToString(StringBuffer returnString)
Description copied from class: C_Content
Called during XML export to append XML corresponding to the receiver's properties (children) to the given string.

The base implementation does nothing (there are no children, so there cannot be any properties).

Overrides:
appendExportXMLForPropertiesToString in class C_Content
Parameters:
returnString - A StringBuffer to which the XML will be appended to.

exportXMLForAttributes

public StringBuffer exportXMLForAttributes()
Description copied from class: C_Content
Called during XML export: builds a StringBuffer holding all the attribute name="value" pairs for the receiver's XML.

Overrides:
exportXMLForAttributes in class C_Content
Returns:
a New StringBuffer holding the receiver's attribute string.

takeAttributesFromDictionary

public void takeAttributesFromDictionary(NSDictionary pList)
Description copied from class: C_Content
Sets up the receiver's instance variables from given values.

The values will normally have come from the attributes of an XML start element tag.

Overrides:
takeAttributesFromDictionary in class C_Content
Parameters:
pList - The dictionary of values.

defaultXMLRepresentation

public String defaultXMLRepresentation()
Description copied from class: C_Content
Retrieves the default XML representation of the receiving content.

The base implementation throws an exception (purely abstract content has no representation).

Overrides:
defaultXMLRepresentation in class C_Content

stringCaption

public String stringCaption()
Retrieve a caption for an image as a string value.

The string returned will be in the original string encoding used when the caption value was last saved to the database.

Returns:
String instance containing the caption.

setStringCaption

public void setStringCaption(String value)
Set the image caption from a string value.

The default system string encoding will be used to store the string.

Parameters:
value - string value representing the caption.