public class SiteFeatureReference extends SiteFeatureReferenceModel implements ISiteFeatureReference
This class may be instantiated or subclassed by clients.
Note: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
IFeatureReference,
FeatureReferenceModel,
ISiteFeatureReference,
SiteFeatureReferenceModel| Constructor and Description |
|---|
SiteFeatureReference()
Feature reference default constructor
|
SiteFeatureReference(ISiteFeatureReference ref)
Constructor FeatureReference.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCategory(ICategory category)
Adds a category to the referenced feature.
|
ICategory[] |
getCategories()
Returns an array of categories the referenced feature belong to.
|
addCategoryName, getCategoryNames, removeCategoryName, setCategoryNamesgetFeature, getFeature, getFeature, getName, getNL, getOS, getOSArch, getSite, getVersionedIdentifier, getWS, isPatch, setSite, setURLequals, getFeatureIdentifier, getFeatureVersion, getLabel, getLabelNonLocalized, getPatch, getPropertyName, getSiteModel, getType, getURL, getURLString, resolve, setArch, setFeatureIdentifier, setFeatureVersion, setLabel, setNL, setOS, setPatch, setSiteModel, setType, setURLString, setWS, toStringarrayTypeFor, arrayTypeFor, assertIsWriteable, getResourceBundle, isReadOnly, markListReferenceReadOnly, markReadOnly, markReferenceReadOnly, resolveListReference, resolveNLString, resolveReference, resolveURLgetAdapterclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFeature, getFeature, getName, getSite, getURL, getVersionedIdentifier, isPatch, setSite, setURLgetNL, getOS, getOSArch, getWSgetAdapterpublic SiteFeatureReference()
public SiteFeatureReference(ISiteFeatureReference ref)
ref - the reference to copypublic ICategory[] getCategories()
getCategories in interface ISiteFeatureReferenceISiteFeatureReference.getCategories()public void addCategory(ICategory category)
addCategory in interface ISiteFeatureReferencecategory - new categoryISiteFeatureReference.addCategory(ICategory)Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.