Package com.e1c.langtool.v8.dt.collector
Class V8FeatureValue.Builder
java.lang.Object
com.e1c.langtool.v8.dt.collector.V8FeatureValue.Builder
- Enclosing class:
- V8FeatureValue
The Class Builder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the.static V8FeatureValue.BuilderFrom feature value.static V8FeatureValue.BuilderfromUri(org.eclipse.emf.common.util.URI objectUri) Deprecated.Gets the comment.Gets the feature key.org.eclipse.core.resources.IFilegetFile()Gets the file.Gets the local strings of object feature.getValue()Gets the value of object feature.booleanGets whethee the value is computed.booleanisTag()Checks if is tag or tag parameter.booleanGets whether the value is unknown.voidsetComment(String comment) Sets the comment.setComputedValue(boolean computedValue) Sets that value is computed.setFeatureKey(FeatureKey featureKey) Sets the feature key.setFeatureSettings(EFeatureSettings settings) Sets the feature settings.setFile(org.eclipse.core.resources.IFile file) Sets the file.setObjectUri(org.eclipse.emf.common.util.URI objectUri) Sets the object uri.Sets the value of object feature.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
fromUri
Deprecated.From uri.- Parameters:
objectUri- the object uri- Returns:
- the builder
-
fromFeatureValue
From feature value.- Parameters:
fv- the feature value- Returns:
- the builder
-
setObjectUri
Sets the object uri.- Parameters:
objectUri- the objectUri to set- Returns:
- the builder
-
setFile
Sets the file.- Parameters:
file- the file- Returns:
- the builder
-
getFile
public org.eclipse.core.resources.IFile getFile()Gets the file.- Returns:
- the file
-
setFeatureSettings
Sets the feature settings.- Parameters:
settings- the settings- Returns:
- the builder
-
getFeatureKey
Gets the feature key.- Returns:
- the feature key
-
setFeatureKey
Sets the feature key.- Parameters:
featureKey- the feature key- Returns:
- the builder
-
getValue
Gets the value of object feature.- Returns:
- the value
-
setValue
Sets the value of object feature.- Parameters:
featureValue- the feature value- Returns:
- the builder
-
setComputedValue
Sets that value is computed.- Parameters:
computedValue- the computed value- Returns:
- the builder
-
isComputedValue
public boolean isComputedValue()Gets whethee the value is computed.- Returns:
- true, if the value is computed value
-
isUnknown
public boolean isUnknown()Gets whether the value is unknown.- Returns:
true, if is unknown
-
isTag
public boolean isTag()Checks if is tag or tag parameter.- Returns:
true, if is tag or tag parameter
-
getLocalStrings
Gets the local strings of object feature.- Returns:
- the Map of local strings. The key of entry is "Language code" and the value of entry
is the "local string" in this language. Cannot be
null.
-
getComment
Gets the comment.- Returns:
- the comment
-
setComment
Sets the comment.- Parameters:
comment- the comment to set
-
build
Builds the.- Returns:
- the v 8 feature value
-