public class IncludedFeatureReferenceModel 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.
IncludedFeatureReference
Constructor and Description |
---|
IncludedFeatureReferenceModel()
Construct a included feature reference
|
IncludedFeatureReferenceModel(IFeatureReference featureReference)
Constructor IncludedFeatureReferenceModel.
|
IncludedFeatureReferenceModel(IncludedFeatureReferenceModel includedFeatureRef)
Construct a included feature reference model
|
Modifier and Type | Method and Description |
---|---|
int |
getMatch()
Deprecated.
since 3.0 included feature version is exactly specified
|
int |
getSearchLocation()
Returns the search location for this included feature.
|
boolean |
isOptional()
Returns the isOptional
|
void |
isOptional(boolean isOptional)
Sets the isOptional.
|
void |
setMatchingRule(int matchingRule)
Deprecated.
since 3.0 included feature version is exactly specified
|
void |
setSearchLocation(int searchLocation)
Sets the searchLocation.
|
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 IncludedFeatureReferenceModel()
public IncludedFeatureReferenceModel(IncludedFeatureReferenceModel includedFeatureRef)
includedFeatureRef
- the included reference model to copypublic IncludedFeatureReferenceModel(IFeatureReference featureReference)
featureReference
- public int getMatch()
MATCH_PERFECT
IUpdateConstants.RULE_PERFECT
,
IUpdateConstants.RULE_EQUIVALENT
,
IUpdateConstants.RULE_COMPATIBLE
,
IUpdateConstants.RULE_GREATER_OR_EQUAL
public int getSearchLocation()
SEARCH_ROOT
IUpdateConstants.SEARCH_ROOT
,
IUpdateConstants.SEARCH_SELF
public boolean isOptional()
public void isOptional(boolean isOptional)
isOptional
- The isOptional to setpublic void setMatchingRule(int matchingRule)
matchingRule
- The matchingRule to setpublic void setSearchLocation(int searchLocation)
searchLocation
- The searchLocation to setGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.