CentraSite Documentation : Working with the CentraSite Business UI : Administering the Business UI : Managing the Catalog : Advanced Search : Searchable Attributes : Attribute Data Types
Attribute Data Types
Each attribute in an asset includes a specific data type. The data type determines what kind of information the attribute can hold.
The following table lists the data types that are available for an attribute. Most types are configured to hold a single value or multiple values (i.e., an array of values).
Data Type
Search Operators and Description
String
Equals, Not Equals, Contains, and Startswith
Holds a string of text. When this type of string is displayed, it is displayed in a single-line text box. If a value exceeds the width of the box, the excess characters are simply not displayed.
International String
Equals, Not Equals, Contains, and Startswith
Holds a String attribute that holds different values for different locales.
Multiline String
Equals, Not Equals, Contains, and Startswith
Holds a string of text. When this type of string is displayed in a CentraSite user interface, the string is displayed in a multi-line text box and lines of text are wrapped to fit the width of the box. (Compare this with the String data type described below.)
Email
Equals, Startswith
Holds an email address. This data type only accepts values in the format:
anyString@anyString
Note:  
When a user enters a value for an Email attribute, CentraSite verifies that the value conforms to the format above, but it does not attempt to validate the address itself.
URL/URI
Equals, Startswith
Holds a URL/URI. This type of attribute only accepts values in the form:
protocol://host/ path
Where:
*protocol is any protocol that java.net.URL supports
*host is the name or IP address of a host machine
*path (optional) is the path to the requested resource on the specified host
Number
Equals, Not Equals, Greater, Smaller, GreaterorEquals, SmallerorEquals
Holds a numeric value.
Note:  
The underlying data type for this kind of attribute is a Java double.
Boolean
N/A
Holds a true or false value.
Note:  
When a Boolean value is displayed in the CentraSite user interface, its value is generally displayed as “Yes” (if the attribute's value is true) or “No” (if the attribute's value is false).
Date/Time
Before, After, Between, On
Holds a timestamp that represents a specific date and/or time.
Duration
N/A
Holds a value that represents a period of time as expressed in Years, Months, Days, Hours, Minutes and Seconds.
IP Address
Equals, Between
Holds a numeric IP address in the v4 or v6 format.
File
Equals, Startswith
Holds references to one or more documents that reside in CentraSite's supporting document library or at a specified URL.
You can use this type of attribute to attach documents such as programming guides, sample code and other types of files to an asset.
Classification
N/A [Assumed to Equals]
Holds references to one or more categories in a specified taxonomy. You use this type of attribute to classify assets according to a specified taxonomy.
Relationship
N/A [Assumed to Equals]
Holds references to other registry objects. You use this type of attribute to express a relationship between an asset and another object in the registry.
Depending on the data type you select, new drop-down lists or text fields appear that allow you to refine the search. Complete the type-specific options as described below:
If you are choosing this type of data…
Do the following...
Classification
1. Select the classification using the Browse Further Attributes selection list.
2. Choose the Browse button next to the text box.
3. Locate the taxonomy that contains the category that you wish to search.
4. Ensure that the taxonomy's categories are visible by choosing the drop-down arrow beside the taxonomy name.
5. Locate the category that you wish to search.
CentraSite returns the assets that match the above specifications.
6. Sort the search results by choosing one of the options from the drop-down list labeled Sort by.
Relationship
1. Select the relationship using the Browse Further Attributes selection list.
2. Choose the Browse button next to the text box.
3. Specify an association type and associated object to be searched in the CentraSite registry.
CentraSite returns the assets that match the above specifications.
4. Sort the search results by choosing one of the options from the drop-down list labeled Sort by.
Copyright © 2005-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback