Plumtree Tags API  
 

OptionalTagAttribute Methods

The methods of the OptionalTagAttribute class are listed below. For a complete list of OptionalTagAttribute class members, see the OptionalTagAttribute Members topic.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetDefaultValue 
GetDescription (inherited from ATagAttribute) The description of the attribute and it's behavior.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetIsRequired 
GetName (inherited from ATagAttribute) The name of the attribute.
GetType (inherited from ATagAttribute) The data type of the attribute. E.G. int, string, etc... Specifying the attribute type will force the conversion of the attribute to that type and will cause an error if it cannot be converted. Required attributes will be converted before the tag is displayed and will cause the tag to fail if they cannot be converted correctly.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

CheckDefaultValue This method is used to ensure that default values are of the appropriate type.
CheckNameSafety (inherited from ATagAttribute) This helper method checks whether or not the attribute name contains any illegal characters, such as whitespace.
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

OptionalTagAttribute Class | com.plumtree.portaluiinfrastructure.tags.metadata Namespace | RequiredTagAttribute