© 2005 BEA Systems, Inc.

com.bea.netuix.application.definition
Class PlaceholderDefinition

java.lang.Object
  extended bycom.bea.netuix.application.definition.PlaceholderDefinition
All Implemented Interfaces:
Serializable

public class PlaceholderDefinition
extends Object
implements Serializable

This class represents a persistant placeholder.

See Also:
Serialized Form

Constructor Summary
PlaceholderDefinition(LocalizationResource localizationResource, MarkupDefinitionId markupDefinitionId, int location)
          Constructor to create a new PlaceholderDefinition object.
 
Method Summary
 LocalizationResource getLocalizationResource()
          Returns the LocalizationResource associated with this PlaceholderDefinition based on the locale of the request used for retrieving the PlaceholderDefinition.
 int getLocation()
          Returns the location of this placeholder.
 MarkupDefinitionId getMarkupDefinitionId()
          Returns the MarkupDefinitionId for the MarkupDefinition associated with this placeholder.
 PlaceholderDefinitionId getPlaceholderDefinitionId()
          Returns the PlaceholderDefinitionId for this placeholder.
 void setLocalizationResource(LocalizationResource localizationResource)
          Sets the LocalizationResource for this placeholder.
 void setLocation(int location)
          Sets the location of this placeholder.
 void setMarkupDefinitionId(MarkupDefinitionId markupDefinitionId)
          Sets the MarkupDefinitionId for this placeholder.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PlaceholderDefinition

public PlaceholderDefinition(LocalizationResource localizationResource,
                             MarkupDefinitionId markupDefinitionId,
                             int location)
Constructor to create a new PlaceholderDefinition object.

Method Detail

getLocalizationResource

public LocalizationResource getLocalizationResource()
Returns the LocalizationResource associated with this PlaceholderDefinition based on the locale of the request used for retrieving the PlaceholderDefinition.

Returns:
LocalizationResource associated with this placeholder

getLocation

public int getLocation()
Returns the location of this placeholder.

Returns:
location

getMarkupDefinitionId

public MarkupDefinitionId getMarkupDefinitionId()
Returns the MarkupDefinitionId for the MarkupDefinition associated with this placeholder.

Returns:
MarkupDefinitionId
See Also:
MarkupDefinition

getPlaceholderDefinitionId

public PlaceholderDefinitionId getPlaceholderDefinitionId()
Returns the PlaceholderDefinitionId for this placeholder. Returns NULL when the PlaceholderDefinition has not been retrieved by using the persistence API.

Returns:
PlaceholderDefinitionId for this placeholder

setLocalizationResource

public void setLocalizationResource(LocalizationResource localizationResource)
Sets the LocalizationResource for this placeholder.

Parameters:
localizationResource -

setLocation

public void setLocation(int location)
Sets the location of this placeholder.

Parameters:
location -

setMarkupDefinitionId

public void setMarkupDefinitionId(MarkupDefinitionId markupDefinitionId)
Sets the MarkupDefinitionId for this placeholder.

Parameters:
markupDefinitionId -

toString

public String toString()

© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved