Package com.e1c.langtool.v8.dt.collector
Class V8FeatureValue
java.lang.Object
com.e1c.langtool.emf.collector.EmfFeatureValue
com.e1c.langtool.v8.dt.collector.V8FeatureValue
- All Implemented Interfaces:
FeatureValue,FileFeatureValue,ContextTranslationKey,EFeatureValue,TranslationKey,Serializable
The Class V8FeatureValue representing V8 Object feature value
FeatureValue.
Clients must use V8FeatureValue.Builder to construct the value.
This impementor is immutable.- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedV8FeatureValue(org.eclipse.emf.common.util.URI objectUri, EFeatureSettings settings, FeatureKey featureKey, String featureValue, boolean computedValue, String comment, boolean isUnknown, boolean isTag) Instantiates a new v8 feature value. -
Method Summary
Methods inherited from class com.e1c.langtool.emf.collector.EmfFeatureValue
create, getContextKey, getFeatureKey, getFeatureSettings, getLocalStrings, getResourceUri, getValue, isComputedValue, isTag, isUnknown, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.e1c.langtool.collector.FeatureValue
getContextKey, getFeatureKey, getFeatureSettings, getFullPath, getLocalStrings, getSourceProject, getValue, isComputedValue, isTag, isUnknown
-
Constructor Details
-
V8FeatureValue
protected V8FeatureValue(org.eclipse.emf.common.util.URI objectUri, EFeatureSettings settings, FeatureKey featureKey, String featureValue, boolean computedValue, String comment, boolean isUnknown, boolean isTag) Instantiates a new v8 feature value.- Parameters:
objectUri- the object uri, cannot benullsettings- the settings, cannot benullfeatureKey- the feature key, cannot benullfeatureValue- the feature value, cannot benullcomputedValue- the computed valuecomment- the comment, cannot benullisUnknown- the is unknownisTag- the is tag
-
-
Method Details
-
getResourceId
public org.eclipse.core.runtime.IPath getResourceId()Gets the resource id.- Specified by:
getResourceIdin interfaceContextTranslationKey- Specified by:
getResourceIdin interfaceFeatureValue- Overrides:
getResourceIdin classEmfFeatureValue- Returns:
- the resource id
-
getFile
public org.eclipse.core.resources.IFile getFile()Gets the file.- Specified by:
getFilein interfaceFileFeatureValue- Returns:
- the file
-
getComment
Description copied from interface:FeatureValueGets the comment for the collected value.- Specified by:
getCommentin interfaceFeatureValue- Returns:
- the comment
-
hashCode
public int hashCode()- Overrides:
hashCodein classEmfFeatureValue
-
equals
- Overrides:
equalsin classEmfFeatureValue
-