Package com.netscape.certsrv.profile
Class PolicyConstraintValue
- java.lang.Object
-
- com.netscape.certsrv.profile.PolicyConstraintValue
-
- All Implemented Interfaces:
JSONSerializer
public class PolicyConstraintValue extends java.lang.Object implements JSONSerializer
-
-
Field Summary
-
Fields inherited from interface com.netscape.certsrv.util.JSONSerializer
logger
-
-
Constructor Summary
Constructors Constructor Description PolicyConstraintValue()
PolicyConstraintValue(java.lang.String name, Descriptor descriptor, java.lang.String value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
static PolicyConstraintValue
fromDOM(org.w3c.dom.Element pcvElement)
static PolicyConstraintValue
fromXML(java.lang.String xml)
Descriptor
getDescriptor()
java.lang.String
getName()
java.lang.String
getValue()
int
hashCode()
void
setDescriptor(Descriptor descriptor)
void
setName(java.lang.String name)
void
setValue(java.lang.String value)
org.w3c.dom.Element
toDOM(org.w3c.dom.Document document)
java.lang.String
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 Detail
-
PolicyConstraintValue
public PolicyConstraintValue()
-
PolicyConstraintValue
public PolicyConstraintValue(java.lang.String name, Descriptor descriptor, java.lang.String value)
-
-
Method Detail
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getDescriptor
public Descriptor getDescriptor()
-
setDescriptor
public void setDescriptor(Descriptor descriptor)
-
getValue
public java.lang.String getValue()
-
setValue
public void setValue(java.lang.String value)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toDOM
public org.w3c.dom.Element toDOM(org.w3c.dom.Document document)
-
fromDOM
public static PolicyConstraintValue fromDOM(org.w3c.dom.Element pcvElement)
-
toXML
public java.lang.String toXML() throws java.lang.Exception
- Throws:
java.lang.Exception
-
fromXML
public static PolicyConstraintValue fromXML(java.lang.String xml) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-