Class ReferenceDependency
java.lang.Object
com.gentics.contentnode.rest.model.AbstractModel
com.gentics.contentnode.rest.model.devtools.dependency.AbstractDependencyModel
com.gentics.contentnode.rest.model.devtools.dependency.ReferenceDependency
A reference of a dependency.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.gentics.contentnode.rest.model.devtools.dependency.AbstractDependencyModel
AbstractDependencyModel.Builder<T extends AbstractDependencyModel>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the package name where a reference was found.Gets whether the object is located in a different package.Returns true if the object is in the current package, false otherwise.void
setFoundInPackage
(String foundInPackage) Sets the name of the package where a reference was found.void
setIsInOtherPackage
(Boolean isInOtherPackage) Sets whether the object is located in a different package.withIsInPackage
(Boolean isInPackage) Sets whether the object is in the current package.Methods inherited from class com.gentics.contentnode.rest.model.devtools.dependency.AbstractDependencyModel
getDependencyType, getKeyword, getName, setDependencyType, setKeyword, setName
Methods inherited from class com.gentics.contentnode.rest.model.AbstractModel
getGlobalId, setGlobalId
-
Constructor Details
-
ReferenceDependency
public ReferenceDependency()
-
-
Method Details
-
getIsInPackage
Returns true if the object is in the current package, false otherwise.- Returns:
- Whether the object is in the current package.
-
withIsInPackage
Sets whether the object is in the current package.- Parameters:
isInPackage
- Whether the object is in the current package.- Returns:
- fluent Api
-
getIsInOtherPackage
Gets whether the object is located in a different package.- Returns:
- True if the object is located in a different package, false otherwise.
-
setIsInOtherPackage
Sets whether the object is located in a different package.- Parameters:
isInOtherPackage
- True if the object is located in a different package, false otherwise.
-
getFoundInPackage
Gets the package name where a reference was found.- Returns:
- the value of foundInPackage
-
setFoundInPackage
Sets the name of the package where a reference was found.- Parameters:
foundInPackage
- the new value to set
-