Package cdc.issues.locations
Class WorkbookLocation
- java.lang.Object
-
- cdc.issues.locations.AbstractLocation
-
- cdc.issues.locations.WorkbookLocation
-
- All Implemented Interfaces:
Location
public class WorkbookLocation extends AbstractLocation
Implementation of Location dedicated to workbooks.- Author:
- Damien Carbonne
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWorkbookLocation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WorkbookLocation.Builderbuilder()booleanequals(Object object)StringgetAnchor()StringgetColumnName()StringgetPath()intgetRowNumber()StringgetSheetName()StringgetSystemId()inthashCode()booleanisCellLocation()booleanisColumnLocation()booleanisRowLocation()booleanisSheetLocation()-
Methods inherited from class cdc.issues.locations.AbstractLocation
toString
-
-
-
-
Method Detail
-
getPath
public String getPath()
- Returns:
- The external part of the location, the path of the designated resource.
It is typically a file name, an URI, a kind of 'absolute' identifier.
-
getAnchor
public String getAnchor()
- Returns:
- The internal part of the location, inside the resource.
It may be
null.
-
getSystemId
public String getSystemId()
-
getSheetName
public String getSheetName()
-
getRowNumber
public int getRowNumber()
-
getColumnName
public String getColumnName()
-
isColumnLocation
public boolean isColumnLocation()
-
isRowLocation
public boolean isRowLocation()
-
isCellLocation
public boolean isCellLocation()
-
isSheetLocation
public boolean isSheetLocation()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractLocation
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classAbstractLocation
-
builder
public static WorkbookLocation.Builder builder()
-
-