com.sap.netweaver.bc.uwl.config

Class CustomAttributes

java.lang.Object
  extended bycom.sap.netweaver.bc.uwl.config.AttributeCollection
      extended bycom.sap.netweaver.bc.uwl.config.CustomAttributes
All Implemented Interfaces:
Cloneable, Serializable

public final class CustomAttributes
extends AttributeCollection
implements Serializable, Cloneable

This class maps to CustomAttributeSource in the configuration XML file.

See Also:
Serialized Form

Constructor Summary
CustomAttributes(String source, String objIdHolder, String type, List attrs)
           
CustomAttributes(String source, String objIdHolder, String type, List attrs, byte therefreshType, int time)
          Sets the source.
 
Method Summary
 Object clone()
           
 boolean defaultRefresh()
           
 boolean finalRefresh()
           
 String getObjectIdHolder()
           
 String getObjectType()
          Returns the objectType.
 int getRefreshPeriod()
          This method is of consequence only if refresh type is TIME_refresh.
 byte getRefreshType()
           
 String getSource()
          Returns the source.
 boolean sessionRefresh()
           
 
Methods inherited from class com.sap.netweaver.bc.uwl.config.AttributeCollection
getAttribute, getAttributeNames, getAttributes, isEmpty, setAttributes, size, values
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomAttributes

public CustomAttributes(String source,
                        String objIdHolder,
                        String type,
                        List attrs,
                        byte therefreshType,
                        int time)
Sets the source.

Parameters:
source - The source to set

CustomAttributes

public CustomAttributes(String source,
                        String objIdHolder,
                        String type,
                        List attrs)
Method Detail

getSource

public String getSource()
Returns the source.

Returns:
String

getObjectIdHolder

public String getObjectIdHolder()

getRefreshPeriod

public int getRefreshPeriod()
This method is of consequence only if refresh type is TIME_refresh.

Returns:
refresh time is in minutes.

getRefreshType

public byte getRefreshType()

sessionRefresh

public boolean sessionRefresh()

defaultRefresh

public boolean defaultRefresh()

finalRefresh

public boolean finalRefresh()

getObjectType

public String getObjectType()
Returns the objectType.

Returns:
String

clone

public Object clone()
             throws CloneNotSupportedException
Overrides:
clone in class AttributeCollection
Throws:
CloneNotSupportedException


Copyright 2006 SAP AG Complete Copyright Notice