public class SiteFeatureReferenceModel extends FeatureReference
This class may be instantiated or subclassed by clients. However, in most cases clients should instead instantiate or subclass the provided concrete implementation of this model.
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.
FeatureReference
Constructor and Description |
---|
SiteFeatureReferenceModel()
Creates an uninitialized feature reference model object.
|
SiteFeatureReferenceModel(ISiteFeatureReference ref)
Constructor FeatureReferenceModel.
|
Modifier and Type | Method and Description |
---|---|
void |
addCategoryName(String categoryName)
Adds the name of a category this feature belongs to.
|
String[] |
getCategoryNames()
Returns the names of categories the referenced feature belongs to.
|
void |
removeCategoryName(String categoryName)
Removes the name of a categorys this feature belongs to.
|
void |
setCategoryNames(String[] categoryNames)
Sets the names of categories this feature belongs to.
|
getFeature, getFeature, getFeature, getName, getNL, getOS, getOSArch, getSite, getVersionedIdentifier, getWS, isPatch, setSite, setURL
equals, getFeatureIdentifier, getFeatureVersion, getLabel, getLabelNonLocalized, getPatch, getPropertyName, getSiteModel, getType, getURL, getURLString, resolve, setArch, setFeatureIdentifier, setFeatureVersion, setLabel, setNL, setOS, setPatch, setSiteModel, setType, setURLString, setWS, toString
arrayTypeFor, arrayTypeFor, assertIsWriteable, getResourceBundle, isReadOnly, markListReferenceReadOnly, markReadOnly, markReferenceReadOnly, resolveListReference, resolveNLString, resolveReference, resolveURL
getAdapter
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getURL
getAdapter
public SiteFeatureReferenceModel()
public SiteFeatureReferenceModel(ISiteFeatureReference ref)
ref
- public String[] getCategoryNames()
public void setCategoryNames(String[] categoryNames)
categoryNames
- an array of category namespublic void addCategoryName(String categoryName)
categoryName
- category namepublic void removeCategoryName(String categoryName)
categoryName
- category nameGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.