com.ptc.core.util.feedback.common.impl
Class DefaultFeedbackSpec

java.lang.Object
  extended by com.ptc.core.util.feedback.common.impl.DefaultFeedbackSpec
All Implemented Interfaces:
FeedbackSpec, Serializable

public class DefaultFeedbackSpec
extends Object
implements FeedbackSpec, Serializable

Default implementation of the FeedbackSpec interface found in com.ptc.core.util.common.feedback

Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.ptc.core.util.feedback.common.FeedbackSpec
KEY, LOGGING_ENABLED
 
Constructor Summary
DefaultFeedbackSpec(Object a_key, boolean a_loggingEnabled)
          

Supported API: true
 
Method Summary
 Object getKey()
          Gets the value of the attribute: key; Attribute key is required due to WTContext-based implementation, and it is used as key in WTContext's Hashtable.
 boolean isLoggingEnabled()
          Gets the value of the attribute: loggingEnabled; If true logging will be enabled for the DefaultFeedbackModel associated with this FeedbackSpec.
 void setKey(Object a_Key)
          Sets the value of the attribute: key; Attribute key is required due to WTContext-based implementation, and it is used as key in WTContext's Hashtable.
 void setLoggingEnabled(boolean a_LoggingEnabled)
          Sets the value of the attribute: loggingEnabled; If true logging will be enabled for the DefaultFeedbackModel associated with this FeedbackSpec.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFeedbackSpec

public DefaultFeedbackSpec(Object a_key,
                           boolean a_loggingEnabled)


Supported API: true

Parameters:
a_key -
a_loggingEnabled -
Method Detail

getKey

public Object getKey()
Gets the value of the attribute: key; Attribute key is required due to WTContext-based implementation, and it is used as key in WTContext's Hashtable.

Supported API: true

Specified by:
getKey in interface FeedbackSpec
Returns:
Object

setKey

public void setKey(Object a_Key)
Sets the value of the attribute: key; Attribute key is required due to WTContext-based implementation, and it is used as key in WTContext's Hashtable.

Supported API: true

Specified by:
setKey in interface FeedbackSpec
Parameters:
a_Key -

isLoggingEnabled

public boolean isLoggingEnabled()
Gets the value of the attribute: loggingEnabled; If true logging will be enabled for the DefaultFeedbackModel associated with this FeedbackSpec. Default is false.

Supported API: true

Specified by:
isLoggingEnabled in interface FeedbackSpec
Returns:
boolean

setLoggingEnabled

public void setLoggingEnabled(boolean a_LoggingEnabled)
                       throws WTPropertyVetoException
Sets the value of the attribute: loggingEnabled; If true logging will be enabled for the DefaultFeedbackModel associated with this FeedbackSpec. Default is false.

Supported API: true

Specified by:
setLoggingEnabled in interface FeedbackSpec
Parameters:
a_LoggingEnabled -
Throws:
WTPropertyVetoException