Package com.netscape.certsrv.profile
Class PolicyConstraint
java.lang.Object
com.netscape.certsrv.profile.PolicyConstraint
- All Implemented Interfaces:
JSONSerializer
-
Field Summary
Fields inherited from interface com.netscape.certsrv.util.JSONSerializer
logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addConstraint
(PolicyConstraintValue constraint) boolean
static PolicyConstraint
static PolicyConstraint
getName()
getText()
int
hashCode()
void
setClassId
(String classId) void
setConstraints
(List<PolicyConstraintValue> constraints) void
void
toXML()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.netscape.certsrv.util.JSONSerializer
toJSON
-
Constructor Details
-
PolicyConstraint
public PolicyConstraint()
-
-
Method Details
-
addConstraint
-
getName
-
setName
-
getText
-
setText
-
getClassId
-
setClassId
-
getConstraints
-
setConstraints
-
hashCode
public int hashCode() -
equals
-
toDOM
-
fromDOM
- Throws:
DOMException
Exception
-
toXML
- Throws:
Exception
-
fromXML
- Throws:
Exception
-