public class EOAttribute
extends com.webobjects.eoaccess.EOProperty
implements com.webobjects.eoaccess.EOPropertyListEncoding, com.webobjects.eoaccess.EOSQLExpression.SQLValue
Modifier | Constructor and Description |
---|---|
|
EOAttribute() |
protected |
EOAttribute(com.webobjects.eoaccess.EOEntity entity,
String definition) |
|
EOAttribute(NSDictionary plist,
Object owner) |
public static final int FactoryMethodArgumentIsData
public static final int FactoryMethodArgumentIsString
public static final int FactoryMethodArgumentIsBytes
public static final int FactoryMethodArgumentIsDate
public static final int AdaptorNumberType
public static final int AdaptorCharactersType
public static final int AdaptorBytesType
public static final int AdaptorDateType
public static final int Void
public static final int InParameter
public static final int OutParameter
public static final int InOutParameter
protected String _name
protected com.webobjects.eoaccess.EOEntity _parent
protected com.webobjects.eoaccess.EOStoredProcedure _parentStoredProcedure
protected String _prototypeName
protected EOAttribute _prototype
protected String _columnName
protected com.webobjects.eoaccess._EOExpressionArray _definitionArray
protected String _externalType
protected String _valueType
protected String _valueClassName
protected String _className
protected int _adaptorValueType
protected String _valueTypeClassName
protected String _readFormat
protected String _writeFormat
protected TimeZone _serverTimeZone
protected int _width
protected int _precision
protected int _scale
protected Class _valueClass
protected String _valueFactoryClassName
protected String _valueFactoryMethodName
protected Class _valueFactoryClass
protected String _adaptorValueConversionMethodName
protected String _adaptorValueConversionClassName
protected Class _adaptorValueConversionClass
protected com.webobjects.foundation.NSSelector _valueFactoryMethod
protected com.webobjects.foundation.NSSelector _adaptorValueConversionMethod
protected boolean _flags_allowsNull
protected boolean _flags_isReadOnly
protected boolean _flags_isNonUpdateable
protected boolean _flags_isNonUpdateableInitialized
protected NSDictionary _sourceToDestinationKeyMap
protected int _parameterDirection
protected NSDictionary _userInfo
public NSDictionary _internalInfo
public static final char _VTByte
public static final char _VTShort
public static final char _VTInteger
public static final char _VTLong
public static final char _VTFloat
public static final char _VTDouble
public static final char _VTBigDecimal
public static final char _VTBoolean
public static final char _VTDate
public static final char _VTTime
public static final char _VTTimestamp
public static final char _VTString
public static final char _VTCharStream
public static final char _VTEncodedBytes
public static final char _VTCharTrimString
public static final char _VTUnknown
public static final char _VTCoerceDate
public static final String FactoryMethodArgumentIsBytesString
public static final String FactoryMethodArgumentIsStringString
public static final String FactoryMethodArgumentIsDataString
public static final String FactoryMethodArgumentIsDateString
public EOAttribute()
public EOAttribute(NSDictionary plist, Object owner)
protected EOAttribute(com.webobjects.eoaccess.EOEntity entity, String definition)
public Map overwrittenCharacteristics()
protected void _setOverrideForCharacteristic(com.webobjects.eoaccess.EOAttribute.Characteristic key)
public boolean overridesPrototypeDefinitionForCharacteristic(com.webobjects.eoaccess.EOAttribute.Characteristic key)
public void _updateFromPrototype()
public void _resetPrototype()
protected boolean _hasAnyOverrides()
public String name()
name
in class com.webobjects.eoaccess.EOProperty
public String _toString(int indent)
public com.webobjects.eoaccess.EOEntity entity()
entity
in class com.webobjects.eoaccess.EOProperty
public com.webobjects.eoaccess.EOStoredProcedure storedProcedure()
public Object parent()
public String prototypeName()
public EOAttribute prototype()
public String externalType()
public String columnName()
public String definition()
public boolean isFlattened()
public boolean isDerived()
public boolean isReadOnly()
public boolean _isPrimaryKeyClassProperty()
public boolean _isNonUpdateable()
@Deprecated public String valueClassName()
public String className()
public String valueType()
protected char _valueTypeChar()
public int width()
public int precision()
public int scale()
public boolean allowsNull()
public String readFormat()
public String writeFormat()
public int parameterDirection()
public NSDictionary userInfo()
public NSDictionary _internalInfo()
public void encodeIntoPropertyList(NSMutableDictionary result)
encodeIntoPropertyList
in interface com.webobjects.eoaccess.EOPropertyListEncoding
public void awakeWithPropertyList(NSDictionary plist)
awakeWithPropertyList
in interface com.webobjects.eoaccess.EOPropertyListEncoding
public boolean overridesPrototypeDefinitionForKey(String key)
public void setName(String name)
public void setPrototype(EOAttribute prototype)
public void setReadOnly(boolean yn)
public void setColumnName(String columnName)
public void setDefinition(String definition)
public void setExternalType(String string)
public void setValueType(String string)
@Deprecated public void setValueClassName(String name)
name
- valueClassNamepublic void setClassName(String name)
public void setWidth(int length)
public void setPrecision(int precision)
public void setScale(int scale)
public void setAllowsNull(boolean allowsNull)
public void setWriteFormat(String string)
public void setReadFormat(String string)
public void setParameterDirection(int parameterDirection)
public void setUserInfo(NSDictionary dictionary)
protected void _setInternalInfo(NSDictionary dictionary)
public void beautifyName()
public TimeZone serverTimeZone()
public void setServerTimeZone(TimeZone tz)
public Object newValueForBytes(byte[] bytes, int length)
public Object newValueForImmutableBytes(byte[] bytes)
@Deprecated public Object newValueForBytesString(byte[] bytes, int length)
bytes
- length
- public Class valueFactoryClass()
public String valueFactoryClassName()
public String valueFactoryMethodName()
public com.webobjects.foundation.NSSelector valueFactoryMethod()
public Object adaptorValueByConvertingAttributeValue(Object value)
public String adaptorValueConversionMethodName()
public com.webobjects.foundation.NSSelector adaptorValueConversionMethod()
public String adaptorValueConversionClassName()
public Class adaptorValueConversionClass()
public int adaptorValueType()
@Deprecated protected Class _adaptorValueClass()
adaptorValueClass()
public Class adaptorValueClass()
public String valueTypeClassName()
public int factoryMethodArgumentType()
public void setFactoryMethodArgumentType(int argumentType)
public void setValueFactoryClassName(String factoryClassName)
public void setValueFactoryMethodName(String factoryMethodName)
public void setAdaptorValueConversionClassName(String conversionClassName)
public void setAdaptorValueConversionMethodName(String conversionMethodName)
public Object validateValue(Object valueP) throws com.webobjects.foundation.NSValidation.ValidationException
com.webobjects.foundation.NSValidation.ValidationException
public void _setSourceToDestinationKeyMap(NSDictionary mapping)
public NSDictionary _sourceToDestinationKeyMap()
public String relationshipPath()
relationshipPath
in class com.webobjects.eoaccess.EOProperty
public int _factoryMethodArgumentTypeFromString(String string)
public String _stringForFactoryMethodArgumentType(int type)
protected com.webobjects.eoaccess._EOExpressionArray _definitionArray()
protected void _setDefinitionArray(com.webobjects.eoaccess._EOExpressionArray definitionArray)
protected void _setDefinitionWithoutFlushingCaches(String definition)
protected void _setValuesFromTargetAttribute()
protected void _removeFromEntityArraySelector(NSArray oldArray, com.webobjects.foundation.NSSelector sel)
protected Object _normalizeDefinitionPath(Object definition, NSArray attributePath)
public void _flushCache()
public String valueForSQLExpression(com.webobjects.eoaccess.EOSQLExpression context)
valueForSQLExpression
in interface com.webobjects.eoaccess.EOSQLExpression.SQLValue
public void setChangeNotificationOptions(EOChangeNotificationOptions changeNotificationOptions)
public EOChangeNotificationOptions changeNotificationOptions()
Copyright © 2002 – 2020 Project Wonder.