Visit Platform at http://www.platform.com

Platform Symphony 5.1 Java API Reference

com.platform.symphony.soam
Class ResourceAttributeDefinition

java.lang.Object
  extended by com.platform.symphony.soam.ResourceAttributeDefinition

public class ResourceAttributeDefinition
extends java.lang.Object

Allows the developer to be able to add more customization for resource attributes used within preference expressions. Definitions are optional and are required only in the following cases:

  1. The attribute in the expression has a different name than the attribute which will be published to the application.
  2. The attribute in the expression deserves a special default value that cannot be satisfied by either the session level or system default values.
NOTE: If any of the methods of this class are called after the main(...) method exits, the client or service process may behave in an undefined manner (for example, hang or terminate abnormally).


Constructor Summary
ResourceAttributeDefinition(java.lang.String name, java.lang.String alias)
          Constructs a ResourceAttributeDefinition object with the specified name and alias.
ResourceAttributeDefinition(java.lang.String name, java.lang.String alias, double defaultValue)
          Constructs a ResourceAttributeDefinition object with the specified name, alias and default value.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceAttributeDefinition

public ResourceAttributeDefinition(java.lang.String name,
                                   java.lang.String alias)
Constructs a ResourceAttributeDefinition object with the specified name and alias.

Parameters:
name - The name of the attribute that will be published by the application. It can be the same as or different from the alias parameter and can contain characters that are not allowed within the preference expression. The name cannot exceed a 256 character length.
alias - The alias to be associated with the attribute. The alias can be considered the "formal" name of the attribute it can be the same or different from the name parameter. The alias can only contain alpha numeric and underscore characters and cannot exceed a 32 character length.

ResourceAttributeDefinition

public ResourceAttributeDefinition(java.lang.String name,
                                   java.lang.String alias,
                                   double defaultValue)
Constructs a ResourceAttributeDefinition object with the specified name, alias and default value.

Parameters:
name - The name of the attribute that will be published by the application. It can be the same as or different from the alias parameter and can contain characters that are not allowed within the preference expression. The name cannot exceed a 256 character length.
alias - The alias to be associated with the attribute. The alias can be considered the "formal" name of the attribute it can be the same or different from the name parameter. The alias can only contain alpha numeric and underscore characters and cannot exceed a 32 character length.
defaultValue - The default value to be assigned to this resource attribute in the event that the system cannot find a value that was published within the context of a specific resource.

Version 5.1
Date Modified: -DREL_DATE=Apr 28 2011
Platform Computing. Accelerating Intelligence(TM).
Copyright (C) 2001-2009 Platform Computing Corporation. All rights reserved.