Package com.netscape.certsrv.profile
Class ProfileInput
java.lang.Object
com.netscape.certsrv.profile.ProfileInput
- All Implemented Interfaces:
JSONSerializer
-
Field Summary
Fields inherited from interface com.netscape.certsrv.util.JSONSerializer
logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttribute
(ProfileAttribute attr) void
addConfigAttribute
(ProfileAttribute configAttr) void
void
boolean
static ProfileInput
static ProfileInput
getAttribute
(String name) getId()
getName()
getText()
int
hashCode()
void
removeAttribute
(String name) void
removeConfigAttribute
(ProfileAttribute configAttr) void
setAttributes
(Collection<ProfileAttribute> attrs) void
setClassId
(String classId) void
setConfigAttrs
(List<ProfileAttribute> configAttrs) void
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
-
ProfileInput
public ProfileInput() -
ProfileInput
-
-
Method Details
-
getClassId
-
getName
-
getText
-
setClassId
-
getId
-
setId
-
setName
-
setText
-
getAttributes
-
setAttributes
-
getAttribute
-
addAttribute
-
removeAttribute
-
clearAttributes
public void clearAttributes() -
getConfigAttrs
-
setConfigAttrs
-
addConfigAttribute
-
removeConfigAttribute
-
clearConfigAttributes
public void clearConfigAttributes() -
hashCode
public int hashCode() -
equals
-
toDOM
-
fromDOM
-
toXML
- Throws:
Exception
-
fromXML
- Throws:
Exception
-