Package hec.io
Class TopologyFileEntry
java.lang.Object
hec.io.TopologyFileEntry
- All Implemented Interfaces:
Cloneable
-
Method Summary
Modifier and TypeMethodDescriptionclone()
create a clone of this TopologyFileEntryboolean
equals
(TopologyFileEntry that) check to see if the TopologyFileEntry represents the same TopologyFileEntry as thatboolean
check to see if the TopologyFileEntry equals objint
Gets the Coop Server Port of the TopologyFileEntryGets the Coop Type attribute of the TopologyFileEntry object one ofTopologyFile.PRIMARY_HOST_TYPE
orTopologyFile.COOP_HOST_TYPE
Gets the IP Address of the TopologyFileEntry objectgetName()
Gets the Host Name of the TopologyFileEntry objectGets the Remote IP address of the TopologyFileEntry objectGets the Startup State attribute of the TopologyFileEntry object one ofTopologyFile.ACTIVE
orTopologyFile.STANDBY
Gets the System Type of the TopologyFileEntry object comma separated list containing one or more of the following:
TopologyFile.DB_SYS_TYPE
TopologyFile.DA_SYS_TYPE
TopologyFile.MODELING_SYS_TYPE
Gets the UserId of the TopologyFileEntryint
hashCode()
return the hashcode for this TopologyFileEntryboolean
Gets whether this entry is a DA Systemboolean
Gets whether this entry is a DB Systemboolean
Gets whether this entry is a Modeling Systemboolean
Gets whether this entry is a Primary Siteboolean
isValid()
check whether this TopologyFileEntry is valid or notreturn the data that this TopologyFileEntry represents as a StringtoString()
return the string representation of this TopologyFileEntry
-
Method Details
-
getCoopServerPort
public int getCoopServerPort()Gets the Coop Server Port of the TopologyFileEntry- Returns:
- The Coop Server Port
-
getCoopType
Gets the Coop Type attribute of the TopologyFileEntry object one ofTopologyFile.PRIMARY_HOST_TYPE
orTopologyFile.COOP_HOST_TYPE
- Returns:
- The CoopType value
-
getIpAddress
Gets the IP Address of the TopologyFileEntry object- Returns:
- The IP Address
-
getName
Gets the Host Name of the TopologyFileEntry object- Returns:
- The Host Name
-
getRemoteIp
Gets the Remote IP address of the TopologyFileEntry object- Returns:
- The Remote IP address
-
getStartupState
Gets the Startup State attribute of the TopologyFileEntry object one ofTopologyFile.ACTIVE
orTopologyFile.STANDBY
- Returns:
- The StartupState value
-
getSystemType
Gets the System Type of the TopologyFileEntry object comma separated list containing one or more of the following:
TopologyFile.DB_SYS_TYPE
TopologyFile.DA_SYS_TYPE
TopologyFile.MODELING_SYS_TYPE
- Returns:
- The SystemType value
-
getUserId
Gets the UserId of the TopologyFileEntry- Returns:
- The UserId
-
isPrimarySite
public boolean isPrimarySite()Gets whether this entry is a Primary Site- Returns:
- true if this TopologyFileEntry represents a Primary Site
-
isDASystem
public boolean isDASystem()Gets whether this entry is a DA System- Returns:
- true if this TopologyFileEntry represents a DA System
-
isDBSystem
public boolean isDBSystem()Gets whether this entry is a DB System- Returns:
- true if this TopologyFileEntry represents a DB System
-
isModelingSystem
public boolean isModelingSystem()Gets whether this entry is a Modeling System- Returns:
- true if this TopologyFileEntry represents a Modeling System
-
clone
create a clone of this TopologyFileEntry -
isValid
public boolean isValid()check whether this TopologyFileEntry is valid or not- Returns:
- true if this TopologyFileEntry is valid
-
toString
return the string representation of this TopologyFileEntry -
paramString
return the data that this TopologyFileEntry represents as a String- Returns:
- the TopologyFileEntry as a String
-
equals
check to see if the TopologyFileEntry equals obj -
equals
check to see if the TopologyFileEntry represents the same TopologyFileEntry as that- Parameters:
that
- Description- Returns:
- Description
-
hashCode
public int hashCode()return the hashcode for this TopologyFileEntry
-