Class CyberLocation
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetmanager.properties.CyberLocation
-
- All Implemented Interfaces:
Serializable
public class CyberLocation extends Object implements Serializable
CyberLocation indicates that a location is a cyber location rather than a physical location.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CyberLocation()Default constructorCyberLocation(CyberLocation template)Copy/clone constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.StringgetAddress()Return the address for the location.inthashCode()Return hash code based on properties.voidsetAddress(String address)Set up address of the location.StringtoString()Standard toString method.
-
-
-
Constructor Detail
-
CyberLocation
public CyberLocation()
Default constructor
-
CyberLocation
public CyberLocation(CyberLocation template)
Copy/clone constructor.- Parameters:
template- template object to copy.
-
-
Method Detail
-
setAddress
public void setAddress(String address)
Set up address of the location.- Parameters:
address- String
-
getAddress
public String getAddress()
Return the address for the location.- Returns:
- String address
-
toString
public String toString()
Standard toString method.
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
-
-