com.ibm.ram.common.data
Class Policy

java.lang.Object
  extended by com.ibm.ram.common.data.Policy

public class Policy
extends java.lang.Object

Polices a contributed as server extensions. Use policies to test an asset against a set of rules.

Since:
7.2

Constructor Summary
Policy()
           
 
Method Summary
 java.lang.String getDescription()
          The description of the policy
 java.lang.String getGovernorClassname()
           
 int getGovernorId()
           
 java.lang.String getId()
          The unique identifier for the policy
 java.lang.String getName()
          The name of the policy
 void setDescription(java.lang.String description)
          The description of the policy
 void setGovernorClassname(java.lang.String governorClassname)
           
 void setGovernorId(int governorId)
           
 void setId(java.lang.String id)
          The unique identifier for the policy
 void setName(java.lang.String name)
          The name of the policy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Policy

public Policy()
Method Detail

getId

public java.lang.String getId()
The unique identifier for the policy

Returns:
Returns the id.
Since:
7.2

setId

public void setId(java.lang.String id)
The unique identifier for the policy

Parameters:
id - The id to set.
Since:
7.2

getName

public java.lang.String getName()
The name of the policy

Returns:
Returns the name.
Since:
7.2

setName

public void setName(java.lang.String name)
The name of the policy

Parameters:
name - The name to set.
Since:
7.2

getDescription

public java.lang.String getDescription()
The description of the policy

Returns:
Returns the description.
Since:
7.2

setDescription

public void setDescription(java.lang.String description)
The description of the policy

Parameters:
description - The description to set.
Since:
7.2

getGovernorId

public int getGovernorId()
Returns:
Returns the governorId.
Since:
7.2

setGovernorId

public void setGovernorId(int governorId)
Parameters:
governorId - The governorId to set.
Since:
7.2

getGovernorClassname

public java.lang.String getGovernorClassname()
Returns:
Returns the governorClassname.
Since:
7.2

setGovernorClassname

public void setGovernorClassname(java.lang.String governorClassname)
Parameters:
governorClassname - The governorClassname to set.
Since:
7.2