WebObjects 5.4.2

com.webobjects.eoaccess.synchronization
Class EOSchemaIndexDescription

java.lang.Object
  extended by com.webobjects.eoaccess.synchronization.EOSchemaPropertyDescription
      extended by com.webobjects.eoaccess.synchronization.EOSchemaIndexDescription
All Implemented Interfaces:
NSKeyValueCoding, NSKeyValueCodingAdditions
Direct Known Subclasses:
FrontbasePlugIn.FrontbaseSynchronizationFactory.FrontbaseIndexDescription, OpenBasePlugIn.OpenBaseSynchronizationFactory.OpenBaseIndexDescription

public class EOSchemaIndexDescription
extends EOSchemaPropertyDescription

A wrapper object for relational database column information used for schema synchronization.

Since:
5.4
See Also:
EOSchemaTableDescription, EOSchemaSynchronizationFactory

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCoding
NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessor
 
Field Summary
static EOSchemaIndexDescription EmptyDescription
           
static String EXPLICIT
           
static String PRIMARYKEY
           
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
KeyPathSeparator
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding
NullValue
 
Constructor Summary
protected EOSchemaIndexDescription()
           
 
Method Summary
protected  void fieldsToString(StringBuilder aLog)
          Adds the fields for each subclass.
 String indexType()
          Index type
 boolean isEmpty()
          Returns true is the property description is empty
protected  void setIndexType(String value)
           
 
Methods inherited from class com.webobjects.eoaccess.synchronization.EOSchemaPropertyDescription
name, setName, takeValueForKey, takeValueForKeyPath, toString, valueForKey, valueForKeyPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EXPLICIT

public static final String EXPLICIT
See Also:
Constant Field Values

PRIMARYKEY

public static final String PRIMARYKEY
See Also:
Constant Field Values

EmptyDescription

public static final EOSchemaIndexDescription EmptyDescription
Constructor Detail

EOSchemaIndexDescription

protected EOSchemaIndexDescription()
Method Detail

isEmpty

public boolean isEmpty()
Description copied from class: EOSchemaPropertyDescription
Returns true is the property description is empty

Specified by:
isEmpty in class EOSchemaPropertyDescription
Returns:
true if empty

indexType

public String indexType()
Index type

Returns:
empty string if not set or null

setIndexType

protected void setIndexType(String value)

fieldsToString

protected void fieldsToString(StringBuilder aLog)
Description copied from class: EOSchemaPropertyDescription
Adds the fields for each subclass. Subclasses must override this method and call super first if they have specific fields to display.

Overrides:
fieldsToString in class EOSchemaPropertyDescription
Parameters:
aLog - log statement being built

Last updated June 2008

Copyright © 2000-2008 Apple Inc.