org.opencms.ade.containerpage.shared
Class CmsInheritanceInfo

java.lang.Object
  extended by org.opencms.ade.containerpage.shared.CmsInheritanceInfo
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class CmsInheritanceInfo
extends java.lang.Object
implements com.google.gwt.user.client.rpc.IsSerializable

A class whose instances are added to container element beans to provide information about container inheritance.


Constructor Summary
CmsInheritanceInfo()
          Creates a new instance.
CmsInheritanceInfo(java.lang.String key, boolean visibility, boolean isNew)
          Creates a new instance.
 
Method Summary
 java.lang.String getClientId()
          Returns the elements client id.
 java.lang.String getKey()
          Returns the key identifying the container element.
 java.lang.String getPath()
          Gets the path from which this element was inherited.
 boolean isNew()
          Returns true if this container element is new.
 boolean isParentVisible()
          Returns the parent configuration's visibility.
 boolean isVisibilityInherited()
          Returns the visibilityInherited.
 boolean isVisible()
          Gets the container element's visibility.
 void setClientId(java.lang.String clientId)
          Sets the elements client id.
 void setIsNew(boolean isNew)
          Sets the 'new' field.
 void setKey(java.lang.String key)
          Sets the key identifying this container element.
 void setParentVisible(boolean parentVisible)
          Sets the parent visibility.
 void setPath(java.lang.String path)
          Sets the path.
 void setVisibilityInherited(boolean visibilityInherited)
          Sets the 'visibilityInherited' attribute.
 void setVisible(boolean visibility)
          Sets the new visibility.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsInheritanceInfo

public CmsInheritanceInfo()
Creates a new instance.


CmsInheritanceInfo

public CmsInheritanceInfo(java.lang.String key,
                          boolean visibility,
                          boolean isNew)
Creates a new instance.

Parameters:
key - the key identifying the container element
visibility - the visibility of the container element
isNew - if true, the element is new
Method Detail

getClientId

public java.lang.String getClientId()
Returns the elements client id.

Returns:
the elements client id

getKey

public java.lang.String getKey()
Returns the key identifying the container element.

Returns:
the key

getPath

public java.lang.String getPath()
Gets the path from which this element was inherited.

Returns:
the path from which this element was inherited

isNew

public boolean isNew()
Returns true if this container element is new.

Returns:
true if the container element is new

isParentVisible

public boolean isParentVisible()
Returns the parent configuration's visibility.

Returns:
the parent visibility

isVisibilityInherited

public boolean isVisibilityInherited()
Returns the visibilityInherited.

Returns:
the visibilityInherited

isVisible

public boolean isVisible()
Gets the container element's visibility.

Returns:
the container element's visibility

setClientId

public void setClientId(java.lang.String clientId)
Sets the elements client id.

Parameters:
clientId - the elements client id to set

setIsNew

public void setIsNew(boolean isNew)
Sets the 'new' field.

Parameters:
isNew - the new value for the 'new' field

setKey

public void setKey(java.lang.String key)
Sets the key identifying this container element.

Parameters:
key - the key identifying the container element

setParentVisible

public void setParentVisible(boolean parentVisible)
Sets the parent visibility.

Parameters:
parentVisible - the new value for the parent visibility

setPath

public void setPath(java.lang.String path)
Sets the path.

Parameters:
path - the new value for the path

setVisibilityInherited

public void setVisibilityInherited(boolean visibilityInherited)
Sets the 'visibilityInherited' attribute.

Parameters:
visibilityInherited - the new value of the 'visibilityInherited' attribute

setVisible

public void setVisible(boolean visibility)
Sets the new visibility.

Parameters:
visibility - the new value of the visibility