@Embeddable public class PolicyId extends Ind2uceEntity
GSON_DEFAULT, GSON_PLAIN, GSON_PRETTY, version| Constructor and Description |
|---|
PolicyId()
Instantiates a new policy id.
|
PolicyId(String urn)
Instantiates a new policy id.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
EnforcementScopeId |
getEsType()
Gets the es type.
|
String |
getId()
Gets the id.
|
String |
getIdentifier()
Gets the identifier.
|
PolicyType |
getPolicyType()
Gets the type of the policy the ID belongs to.
|
String |
getScope()
Gets the platform.
|
PolicyType |
getType()
Gets the type.
|
int |
hashCode() |
void |
setId(String uri)
Sets the id.
|
void |
setIdentifier(String identifier)
Sets the identifier.
|
void |
setPolicyType(PolicyType policyType)
Sets the type of the policy the ID belongs to.
|
void |
setScope(String scope)
Sets the platform.
|
String |
toString() |
fromJson, getGson, getVersion, toJsonpublic PolicyId()
public PolicyId(String urn)
urn - the urnpublic EnforcementScopeId getEsType()
public String getId()
public String getIdentifier()
public PolicyType getPolicyType()
public String getScope()
public PolicyType getType()
public void setId(String uri)
uri - the new idpublic void setIdentifier(String identifier)
identifier - the new identifierpublic void setPolicyType(PolicyType policyType)
policyType - the new type of the policy the ID belongs topublic void setScope(String scope)
scope - the new platformpublic String toString()
toString in class Ind2uceEntityCopyright © 2018. All rights reserved.