Package com.microstrategy.web.objects
Interface WebAttribute
- 
- All Superinterfaces:
- KeyedObject,- WebDisplayUnit,- WebFeatures,- WebObjectInfo,- WebPromptSite
 
 public interface WebAttribute extends WebObjectInfo The WebAttribute interface represents an attribute, which is a first class object. This interface allows retrieval of the forms of an attribute.- Since:
- MicroStrategy Web 7.3.1 or earlier
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description WebAttributeFormsgetBrowseForms()Returns a list of browse forms which belong to this attribute.WebDimensionAttributegetDimensionAttribute()Returns theWebDimensionAttributewhich is associated with this attribute.WebElementSourcegetElementSource()Returns an element source which can be used to modify the parameters for element retrieval if this attribute is highlighted.WebAttributeFormsgetForms()Returns the list of attribute forms which belong to this attribute.WebAttributeFormsgetForms(int webDisplayFormType)Returns the list of attribute forms based on the display form type which belong to this attribute.WebAttributeFormsgetTemplateForms()Returns a list of template forms which belong to this attribute.booleanisProjectAttribute()Returns whether this attribute is a project attribute.booleanrequiresLookupTable()Returns whether this attribute requires a lookup table in order to obtain elements for it.- 
Methods inherited from interface com.microstrategy.utils.KeyedObject_getObKey
 - 
Methods inherited from interface com.microstrategy.web.objects.WebDisplayUnitaddDetails, applyVisitor, canHighlight, getChildUnits, getDisplayName, getDisplayUnitType, hasDetails, highlightUnit, highlightUnit, isHighlighted, isObjectInfo, isSelected, setDisplayName, setSelected
 - 
Methods inherited from interface com.microstrategy.web.objects.WebFeaturesisFeatureAvailable, isFeatureAvailable
 - 
Methods inherited from interface com.microstrategy.web.objects.WebObjectInfobuildShortObjectAttributes, buildShortXML, getAbbreviation, getAccessGranted, getAncestors, getCardStatus, getCertifiedInfo, getComments, getContainerDid, getContainerType, getCreationTime, getCreationTimeStamp, getDataSources, getDescription, getExtendedType, getFactory, getFlags, getIconPath, getID, getModificationTime, getModificationTimeStamp, getName, getNonSchedulable, getOtherNameTransCount, getOwner, getParent, getPreSaveAsFlags, getProjectId, getProjectName, getPropertyFlags, getPropertySetFilter, getPropertySets, getRecommendationInfo, getSecurity, getState, getSubType, getType, getVersionID, getViewMediaSettings, getVisualizationViewMode, getXML, getXML, hasOwner, isAncestorNamedFolder, isDirty, isEmbedded, isHidden, isNew, isPopulated, populate, populate, setAbbreviation, setComments, setDataSources, setDescription, setExtendedType, setFlags, setHidden, setIconPath, setName, setNonSchedulable, setPreSaveAsFlags, setPropertyFlags
 - 
Methods inherited from interface com.microstrategy.web.objects.WebPromptSitegetPromptInstances
 
- 
 
- 
- 
- 
Method Detail- 
getFormsWebAttributeForms getForms() Returns the list of attribute forms which belong to this attribute.- Returns:
- A WebAttributeFormscollection, containing all forms of the attribute.
 
 - 
getFormsWebAttributeForms getForms(int webDisplayFormType) Returns the list of attribute forms based on the display form type which belong to this attribute.- Parameters:
- webDisplayFormType- - value from- EnumWebDisplayedForms.
- Returns:
- A WebAttributeFormscollection, forms of the attribute based on the type.
- Since:
- MicroStrategy Web 8.1.2
 
 - 
getBrowseFormsWebAttributeForms getBrowseForms() Returns a list of browse forms which belong to this attribute. Browse forms are those forms which will be used by default when browsing elements of the attribute.- Returns:
- A WebAttributeFormscollection, containing only the browse forms of the attribute.
 
 - 
getTemplateFormsWebAttributeForms getTemplateForms() Returns a list of template forms which belong to this attribute. Template forms are those forms which will be used by default when the attribute appears inside a report.- Returns:
- A WebAttributeFormscollection, containing only the template forms of the attribute.
 
 - 
getElementSourceWebElementSource getElementSource() Returns an element source which can be used to modify the parameters for element retrieval if this attribute is highlighted.- Returns:
- A WebElementSourceobject, which can be used to control element browsing in the event that this attribute is detailed/highlighted.
 
 - 
getDimensionAttributeWebDimensionAttribute getDimensionAttribute() throws WebObjectsException Returns theWebDimensionAttributewhich is associated with this attribute. Note that every attribute belongs to a dimension; if the attribute did not come from a dimension object, then the attribute is presumed to come from the system dimension.- Returns:
- The WebDimensionAttributeassociated with the attribute.
- Throws:
- WebObjectsException- Thrown if the dimension attribute cannot be determined.
 
 - 
requiresLookupTableboolean requiresLookupTable() Returns whether this attribute requires a lookup table in order to obtain elements for it. If this is true, then the attribute's elements cannot be browsed using the GetElements call without additional context information.- Returns:
- True if the attribute cannot be browsed, false otherwise.
- Since:
- MicroStrategy Web 8.0.1
 
 - 
isProjectAttributeboolean isProjectAttribute() Returns whether this attribute is a project attribute.- Returns:
- False if the attribute comes from a MDX Cube and "ipa" attribute is not set, true otherwise.
- Since:
- MicroStrategy Web 9.0.3
 
 
- 
 
-