flex.data.config
Class MetadataSettings

java.lang.Object
  extended by flex.data.config.MetadataSettings

public class MetadataSettings
extends Object

Settings for the properties of an item in a DataCollection.


Constructor Summary
MetadataSettings()
          Creates a MetadataSettings instance.
 
Method Summary
 void addAssociationSetting(AssociationSetting s)
          Adds an AssociationSetting to the list of AssociationSettings.
 void addIdentityPropertyName(String propName)
          Adds an identity property name to the list of identity property names.
 void addIdentityPropertyNameAndType(String propName, String propType)
          Adds an idenitty property name and type to the list of identity property name and type lists.
 List getAssociationSettings()
          Returns the list of AssociationSettings.
 List getIdentityPropertyNames()
          Returns the list of identity property names.
 Class getIdentityPropertyType(String propName)
          Returns the property type of a given property name.
 Map getIdentityPropertyTypeMap()
          Returns the Map of property name and types.
 List getIdentityPropertyTypes()
          Returns the list of property types.
 String getIdentityUndefinedValue(String propName)
           
 void setIdentityUndefinedValue(String propName, String undefinedValue)
          Sets the undefined value for the specified identity property.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MetadataSettings

public MetadataSettings()
Creates a MetadataSettings instance.

Method Detail

getIdentityPropertyNames

public List getIdentityPropertyNames()
Returns the list of identity property names.

Returns:

getIdentityPropertyType

public Class getIdentityPropertyType(String propName)
Returns the property type of a given property name.

Parameters:
propName -
Returns:

getIdentityPropertyTypeMap

public Map getIdentityPropertyTypeMap()
Returns the Map of property name and types.

Returns:

getIdentityPropertyTypes

public List getIdentityPropertyTypes()
Returns the list of property types.

Returns:

addIdentityPropertyName

public void addIdentityPropertyName(String propName)
Adds an identity property name to the list of identity property names.

Parameters:
propName -

addIdentityPropertyNameAndType

public void addIdentityPropertyNameAndType(String propName,
                                           String propType)
Adds an idenitty property name and type to the list of identity property name and type lists.

Parameters:
propName -
propType -

setIdentityUndefinedValue

public void setIdentityUndefinedValue(String propName,
                                      String undefinedValue)
Sets the undefined value for the specified identity property. This is an optional setting you can use so that FDMS can recognize when an object does not have an assigned identity value. For example, often integer ids use the value 0 to mean an unassigned value.


getIdentityUndefinedValue

public String getIdentityUndefinedValue(String propName)

getAssociationSettings

public List getAssociationSettings()
Returns the list of AssociationSettings.

Returns:

addAssociationSetting

public void addAssociationSetting(AssociationSetting s)
Adds an AssociationSetting to the list of AssociationSettings.

Parameters:
s -

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2007 Adobe Systems Inc. All Rights Reserved.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/lcdsjavadoc/flex/data/config/MetadataSettings.html