public class PoliciesBean extends Object
| Constructor and Description |
|---|
PoliciesBean()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static PoliciesBean |
from(io.apiman.manager.api.beans.policies.PolicyBean policy)
Create a new Policies object from the given policy bean instance.
|
static PoliciesBean |
from(io.apiman.manager.api.beans.policies.PolicyType type,
String organizationId,
String entityId,
String entityVersion)
Creates a new, empty
PoliciesBean from some basic information. |
String |
getEntityId() |
String |
getEntityVersion() |
String |
getOrganizationId() |
List<io.apiman.manager.api.beans.policies.PolicyBean> |
getPolicies() |
io.apiman.manager.api.beans.policies.PolicyType |
getType() |
void |
setEntityId(String entityId) |
void |
setEntityVersion(String entityVersion) |
void |
setOrganizationId(String organizationId) |
void |
setPolicies(List<io.apiman.manager.api.beans.policies.PolicyBean> policies) |
void |
setType(io.apiman.manager.api.beans.policies.PolicyType type) |
public static final PoliciesBean from(io.apiman.manager.api.beans.policies.PolicyBean policy)
policy - the policypublic static final PoliciesBean from(io.apiman.manager.api.beans.policies.PolicyType type, String organizationId, String entityId, String entityVersion)
PoliciesBean from some basic information.type - the policy typeorganizationId - the organization identityId - the entity identityVersion - the entity versionpublic io.apiman.manager.api.beans.policies.PolicyType getType()
public void setType(io.apiman.manager.api.beans.policies.PolicyType type)
type - the type to setpublic String getOrganizationId()
public void setOrganizationId(String organizationId)
organizationId - the organizationId to setpublic String getEntityId()
public void setEntityId(String entityId)
entityId - the entityId to setpublic String getEntityVersion()
public void setEntityVersion(String entityVersion)
entityVersion - the entityVersion to setpublic List<io.apiman.manager.api.beans.policies.PolicyBean> getPolicies()
public void setPolicies(List<io.apiman.manager.api.beans.policies.PolicyBean> policies)
policies - the policies to setCopyright © 2015 JBoss, a division of Red Hat. All rights reserved.