Package org.bremersee.dccon.model
Class DnsZone
- java.lang.Object
-
- org.bremersee.dccon.model.CommonAttributes
-
- org.bremersee.dccon.model.DnsZone
-
- All Implemented Interfaces:
Serializable
@Validated public class DnsZone extends CommonAttributes
DNS Zone.- Author:
- Christian Bremer
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DnsZone(String distinguishedName, OffsetDateTime created, OffsetDateTime modified, String name, Boolean defaultZone, Boolean reverseZone)
Instantiates a new dns zone.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
getDefaultZone()
Gets default zone.String
getName()
The zone name.Boolean
getReverseZone()
Gets reverse zone.void
setDefaultZone(Boolean defaultZone)
Sets default zone.void
setName(String name)
Sets zone name.void
setReverseZone(Boolean reverseZone)
Sets reverse zone.-
Methods inherited from class org.bremersee.dccon.model.CommonAttributes
getCreated, getDistinguishedName, getModified, setCreated, setDistinguishedName, setModified
-
-
-
-
Constructor Detail
-
DnsZone
public DnsZone(String distinguishedName, OffsetDateTime created, OffsetDateTime modified, String name, Boolean defaultZone, Boolean reverseZone)
Instantiates a new dns zone.- Parameters:
distinguishedName
- the distinguished namecreated
- the createdmodified
- the modifiedname
- the zone namedefaultZone
- the default zonereverseZone
- the reverse zone
-
-
Method Detail
-
getName
public String getName()
The zone name.- Returns:
- zone name
-
setName
public void setName(String name)
Sets zone name.- Parameters:
name
- the zone name
-
getDefaultZone
public Boolean getDefaultZone()
Gets default zone.- Returns:
- the default zone
-
setDefaultZone
public void setDefaultZone(Boolean defaultZone)
Sets default zone.- Parameters:
defaultZone
- the default zone
-
getReverseZone
public Boolean getReverseZone()
Gets reverse zone.- Returns:
- the reverse zone
-
setReverseZone
public void setReverseZone(Boolean reverseZone)
Sets reverse zone.- Parameters:
reverseZone
- the reverse zone
-
-