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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe broadcast addressprotected StringThe domain nameprotected StringThe host nameprotected StringThe IP addressprotected StringThe network maskFields inherited from class org.gcube.informationsystem.model.impl.entities.FacetImpl
additionalProperties, allowedAdditionalKeysFields inherited from class org.gcube.informationsystem.model.impl.entities.EntityImpl
contexts, expectedtype, supertypesFields inherited from class org.gcube.informationsystem.base.impl.entities.EntityElementImpl
metadata, uuidFields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, NAME, TYPE_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.entities.Entity
NAMEFields inherited from interface org.gcube.informationsystem.base.reference.entities.EntityElement
NAMEFields inherited from interface org.gcube.informationsystem.model.reference.ERElement
CONTEXTS_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.entities.Facet
NAMEFields inherited from interface org.gcube.informationsystem.base.reference.IdentifiableElement
ID_PROPERTY, METADATA_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.ModelElement
EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTYFields inherited from interface org.gcube.resourcemanagement.model.reference.entities.facets.NetworkingFacet
IP_ADDRESS, IP_ADDRESS_REGEX, NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBroadcast AddressThe Domain NameThe Host NameInternet Protocol (IP) AddressgetMask()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) AddressvoidSets the Network MaskMethods inherited from class org.gcube.informationsystem.model.impl.entities.FacetImpl
addAllowedAdditionalKey, getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalPropertyMethods inherited from class org.gcube.informationsystem.model.impl.entities.EntityImpl
getContexts, getExpectedtype, getSupertypes, setContextsMethods inherited from class org.gcube.informationsystem.base.impl.entities.EntityElementImpl
getID, getMetadata, setID, setMetadataMethods inherited from class org.gcube.informationsystem.base.impl.ElementImpl
getTypeName, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.gcube.informationsystem.base.reference.Element
getTypeNameMethods inherited from interface org.gcube.informationsystem.base.reference.entities.EntityElement
getID, getMetadata, setID, setMetadataMethods inherited from interface org.gcube.informationsystem.model.reference.ERElement
getContextsMethods inherited from interface org.gcube.informationsystem.model.reference.entities.Facet
getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalPropertyMethods inherited from interface org.gcube.informationsystem.model.reference.ModelElement
getExpectedtype, getSupertypes
-
Field Details
-
hostName
The host name -
domainName
The domain name -
ipAddress
The IP address -
mask
The network mask -
broadcastAddress
The broadcast address
-
-
Constructor Details
-
NetworkingFacetImpl
public NetworkingFacetImpl()
-
-
Method Details
-
getHostName
The Host Name- Specified by:
getHostNamein interfaceNetworkingFacet- Returns:
- the host name
-
setHostName
Sets the Host Name- Specified by:
setHostNamein interfaceNetworkingFacet- Parameters:
hostName- the host name
-
getDomainName
The Domain Name- Specified by:
getDomainNamein interfaceNetworkingFacet- Returns:
- the domain name
-
setDomainName
Sets the Domain Name- Specified by:
setDomainNamein interfaceNetworkingFacet- Parameters:
domainName- the domain name
-
getIPAddress
Internet Protocol (IP) Address- Specified by:
getIPAddressin interfaceNetworkingFacet- Returns:
- the IP address
-
setIPAddress
Sets the Internet Protocol (IP) Address- Specified by:
setIPAddressin interfaceNetworkingFacet- Parameters:
ipAddress- the IP address
-
getMask
Network Mask- Specified by:
getMaskin interfaceNetworkingFacet- Returns:
- the network mask
-
setMask
Sets the Network Mask- Specified by:
setMaskin interfaceNetworkingFacet- Parameters:
mask- the network mask
-
getBroadcastAddress
Broadcast Address- Specified by:
getBroadcastAddressin interfaceNetworkingFacet- Returns:
- the broadcast address
-
setBroadcastAddress
Sets the Broadcast Address- Specified by:
setBroadcastAddressin interfaceNetworkingFacet- Parameters:
broadcastAddress- the broadcast address
-