Package org.bremersee.dccon.model
Class CommonAttributes
- java.lang.Object
-
- org.bremersee.dccon.model.CommonAttributes
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DnsNode
,DnsZone
,DomainGroup
,DomainUser
@Validated public abstract class CommonAttributes extends Object implements Serializable
Common attributes.- Author:
- Christian Bremer
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CommonAttributes(String distinguishedName, OffsetDateTime created, OffsetDateTime modified)
Instantiates a new common attributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTime
getCreated()
The creation date.String
getDistinguishedName()
The distinguished name in the active directory.OffsetDateTime
getModified()
The last modification date.void
setCreated(OffsetDateTime created)
Sets creation date.void
setDistinguishedName(String distinguishedName)
Sets distinguished name.void
setModified(OffsetDateTime modified)
Sets last modification date.
-
-
-
Constructor Detail
-
CommonAttributes
public CommonAttributes(String distinguishedName, OffsetDateTime created, OffsetDateTime modified)
Instantiates a new common attributes.- Parameters:
distinguishedName
- the distinguished namecreated
- the createdmodified
- the modified
-
-
Method Detail
-
getDistinguishedName
public String getDistinguishedName()
The distinguished name in the active directory.- Returns:
- distinguishedName distinguished name
-
setDistinguishedName
public void setDistinguishedName(String distinguishedName)
Sets distinguished name.- Parameters:
distinguishedName
- the distinguished name
-
getCreated
public OffsetDateTime getCreated()
The creation date.- Returns:
- created created
-
setCreated
public void setCreated(OffsetDateTime created)
Sets creation date.- Parameters:
created
- the creation date
-
getModified
public OffsetDateTime getModified()
The last modification date.- Returns:
- modified modified
-
setModified
public void setModified(OffsetDateTime modified)
Sets last modification date.- Parameters:
modified
- the last modification date
-
-