Class NetworkingFacetImpl
- java.lang.Object
-
- org.gcube.informationsystem.base.impl.ElementImpl
-
- org.gcube.informationsystem.base.impl.entities.EntityElementImpl
-
- org.gcube.informationsystem.model.impl.entities.EntityImpl
-
- org.gcube.informationsystem.model.impl.entities.FacetImpl
-
- org.gcube.resourcemanagement.model.impl.entities.facets.NetworkingFacetImpl
-
- All Implemented Interfaces:
Serializable,org.gcube.informationsystem.base.reference.Element,org.gcube.informationsystem.base.reference.entities.EntityElement,org.gcube.informationsystem.base.reference.IdentifiableElement,org.gcube.informationsystem.base.reference.SchemaMixedElement,org.gcube.informationsystem.model.reference.entities.Entity,org.gcube.informationsystem.model.reference.entities.Facet,org.gcube.informationsystem.model.reference.ERElement,org.gcube.informationsystem.model.reference.ModelElement,NetworkingFacet
public class NetworkingFacetImpl extends org.gcube.informationsystem.model.impl.entities.FacetImpl implements NetworkingFacet
- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringbroadcastAddressThe broadcast addressprotected StringdomainNameThe domain nameprotected StringhostNameThe host nameprotected StringipAddressThe IP addressprotected StringmaskThe network mask-
Fields inherited from class org.gcube.informationsystem.model.impl.entities.FacetImpl
additionalProperties, allowedAdditionalKeys
-
Fields inherited from class org.gcube.informationsystem.model.impl.entities.EntityImpl
contexts, expectedtype, supertypes
-
Fields inherited from class org.gcube.informationsystem.base.impl.entities.EntityElementImpl
metadata, uuid
-
Fields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, NAME, TYPE_PROPERTY
-
Fields inherited from interface org.gcube.informationsystem.base.reference.entities.EntityElement
NAME
-
Fields inherited from interface org.gcube.informationsystem.model.reference.ERElement
CONTEXTS_PROPERTY
-
Fields inherited from interface org.gcube.informationsystem.base.reference.IdentifiableElement
ID_PROPERTY, METADATA_PROPERTY
-
Fields inherited from interface org.gcube.informationsystem.model.reference.ModelElement
EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTY
-
Fields inherited from interface org.gcube.resourcemanagement.model.reference.entities.facets.NetworkingFacet
IP_ADDRESS, IP_ADDRESS_REGEX, NAME
-
-
Constructor Summary
Constructors Constructor Description NetworkingFacetImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBroadcastAddress()Broadcast AddressStringgetDomainName()The Domain NameStringgetHostName()The Host NameStringgetIPAddress()Internet Protocol (IP) AddressStringgetMask()Network MaskvoidsetBroadcastAddress(String broadcastAddress)Sets the Broadcast AddressvoidsetDomainName(String domainName)Sets the Domain NamevoidsetHostName(String hostName)Sets the Host NamevoidsetIPAddress(String ipAddress)Sets the Internet Protocol (IP) AddressvoidsetMask(String mask)Sets the Network Mask-
Methods inherited from class org.gcube.informationsystem.model.impl.entities.FacetImpl
addAllowedAdditionalKey, getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalProperty
-
Methods inherited from class org.gcube.informationsystem.model.impl.entities.EntityImpl
getContexts, getExpectedtype, getSupertypes, setContexts
-
Methods inherited from class org.gcube.informationsystem.base.impl.entities.EntityElementImpl
getID, getMetadata, setID, setMetadata
-
Methods inherited from class org.gcube.informationsystem.base.impl.ElementImpl
getTypeName, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.gcube.informationsystem.base.reference.entities.EntityElement
getID, getMetadata, setID, setMetadata
-
-
-
-
Method Detail
-
getHostName
public String getHostName()
The Host Name- Specified by:
getHostNamein interfaceNetworkingFacet- Returns:
- the host name
-
setHostName
public void setHostName(String hostName)
Sets the Host Name- Specified by:
setHostNamein interfaceNetworkingFacet- Parameters:
hostName- the host name
-
getDomainName
public String getDomainName()
The Domain Name- Specified by:
getDomainNamein interfaceNetworkingFacet- Returns:
- the domain name
-
setDomainName
public void setDomainName(String domainName)
Sets the Domain Name- Specified by:
setDomainNamein interfaceNetworkingFacet- Parameters:
domainName- the domain name
-
getIPAddress
public String getIPAddress()
Internet Protocol (IP) Address- Specified by:
getIPAddressin interfaceNetworkingFacet- Returns:
- the IP address
-
setIPAddress
public void setIPAddress(String ipAddress)
Sets the Internet Protocol (IP) Address- Specified by:
setIPAddressin interfaceNetworkingFacet- Parameters:
ipAddress- the IP address
-
getMask
public String getMask()
Network Mask- Specified by:
getMaskin interfaceNetworkingFacet- Returns:
- the network mask
-
setMask
public void setMask(String mask)
Sets the Network Mask- Specified by:
setMaskin interfaceNetworkingFacet- Parameters:
mask- the network mask
-
getBroadcastAddress
public String getBroadcastAddress()
Broadcast Address- Specified by:
getBroadcastAddressin interfaceNetworkingFacet- Returns:
- the broadcast address
-
setBroadcastAddress
public void setBroadcastAddress(String broadcastAddress)
Sets the Broadcast Address- Specified by:
setBroadcastAddressin interfaceNetworkingFacet- Parameters:
broadcastAddress- the broadcast address
-
-