Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.endeca.portal.metadata.attributes
Class AttributeDisplayName

    java.lang.Object
      com.endeca.portal.metadata.AbstractMetadata
          com.endeca.portal.metadata.MetadataObject
              com.endeca.portal.metadata.attributes.AttributeDisplayName

All Implemented Interfaces:
  Metadata

    public class AttributeDisplayName

extends MetadataObject

Specialization of Metadata Object to represent the display name for an attribute

Author:
  Endeca Technologies, Inc.

Constructor Summary
`AttributeDisplayName()` Constructor: initializes the object with an ID of -1
`AttributeDisplayName(com.endeca.portal.liferay.ext.metadata.model.MetadataRecord record)` Constructor that initializes the object from a MetadataRecord.
`AttributeDisplayName(java.lang.String attributeName, java.lang.String displayName, java.lang.String dataSourceId)` Convenience constructor that inits the object and sets a an attribute name, display name for the attribute, and the data source ID

Method Summary
`java.lang.String` | `getType()` Returns

Methods inherited from class com.endeca.portal.metadata.MetadataObject
`addProperties, addProperty, equals, getProperties, getProperties, getSourceRecord, init, removeAllProperties, removeProperties, removeProperties, removeProperty, setSourceRecord`

Methods inherited from class com.endeca.portal.metadata.AbstractMetadata
`getDescription, getFeature, getKey, getLastUpdated, getLocale, getObjectId, getRel, getSource, getValue, setDescription, setFeature, setKey, setLastUpdated, setLocale, setObjectId, setRel, setSource, setValue, toString`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### AttributeDisplayName

    public AttributeDisplayName()

  Constructor: initializes the object with an ID of -1

### AttributeDisplayName

    public AttributeDisplayName(com.endeca.portal.liferay.ext.metadata.model.MetadataRecord record)

  Constructor that initializes the object from a MetadataRecord. The underlying object is not persisted to the database; that must be done explicitly if you want it to be persisted.

  Parameters:
    `record` - the source MetadataRecord

### AttributeDisplayName

    public AttributeDisplayName(java.lang.String attributeName,
                                java.lang.String displayName,
                                java.lang.String dataSourceId)

  Convenience constructor that inits the object and sets a an attribute name, display name for the attribute, and the data source ID

  Parameters:
    `attributeName` - the attribute
    `displayName` - the display name for the attribute
    `dataSourceId` - the data source ID for which this attribute applies

Method Detail

### getType

    public java.lang.String getType()

  Returns

  Specified by:
    `getType` in interface `Metadata`
  Specified by:
    `getType` in class `MetadataObject`
  Returns:
    the type of metadata this object represents
  See Also:
    `Metadata.getType()`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD