public class AstPropertyParam extends Object
AstPropertyParam(AstPropertyOwner, Object, String, Date)
constructor.Constructor and Description |
---|
AstPropertyParam() |
AstPropertyParam(AstPropertyOwner owner,
Object id,
String key,
Date expiresOn)
Sets the data property parameter data.
|
Modifier and Type | Method and Description |
---|---|
Date |
getExpiresOn() |
Object |
getId() |
String |
getKey() |
AstPropertyOwner |
getOwner() |
void |
setExpiresOn(Date expiresOn) |
void |
setId(Object id) |
void |
setKey(String key) |
void |
setOwner(AstPropertyOwner owner) |
String |
toString() |
public AstPropertyParam()
public AstPropertyParam(AstPropertyOwner owner, Object id, String key, Date expiresOn)
owner
- An AstPropertyOwner
defines which SSMS object holds this property.id
- is an Object
, because
AstPropertyOwner.OWNER_DEVICE
it is an Integer
that is equal to the ID of an ASM device
AstPropertyOwner.OWNER_USER
and AstPropertyOwner.OWNER_GROUP
it is a String
that is equal to the name of the user or groupkey
- is the parameter, which property should be returned.expiresOn
- is the expiration date of a property.public AstPropertyOwner getOwner()
AstPropertyOwner
which defines which SSMS object holds this property.public Object getId()
Object
:
AstPropertyOwner.OWNER_DEVICE
it is an Integer
that is equal to the ID of an ASM device
AstPropertyOwner.OWNER_USER
and AstPropertyOwner.OWNER_GROUP
it is a String
that is equal to the name of the user or grouppublic String getKey()
public Date getExpiresOn()
public void setOwner(AstPropertyOwner owner)
owner
- An AstPropertyOwner
which defines which SSMS object holds this property.public void setId(Object id)
id
- an Object
:
AstPropertyOwner.OWNER_DEVICE
it is an Integer
that is equal to the ID of an ASM device
AstPropertyOwner.OWNER_USER
and AstPropertyOwner.OWNER_GROUP
it is a String
that is equal to the name of the user or grouppublic void setKey(String key)
key
- the parameter, which property should be returned or setpublic void setExpiresOn(Date expiresOn)
expiresOn
- the (optional) expiration date of the property.Copyright © 2022 KOBIL Systems GmbH. All rights reserved.