|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jafer.registry.web.struts.bean.ModsRecord
public class ModsRecord
This bean represents a mods record
Field Summary | |
---|---|
static java.lang.String |
AUTHOR
Use this string to get the author field |
private java.util.Map |
fields
Stores a reference to the mods fields this bean displays |
static java.lang.String |
ISBN
Use this string to get the isbn field |
static java.lang.String |
OWNER
Use this string to get the owner field |
static java.lang.String |
TITLE
Use this string to get the title field |
static java.lang.String |
TYPE
Use this string to get the type field |
Constructor Summary | |
---|---|
ModsRecord(Field modsroot)
|
|
ModsRecord(java.util.Map map)
Constructor |
Method Summary | |
---|---|
java.lang.String |
getAuthor()
Gets the author |
java.lang.String |
getField(java.lang.String key)
Gets the specified field from the record |
java.util.Map |
getFields()
Get all the mods fields of the record. |
java.lang.String |
getIsbn()
Gets the ISBN |
java.lang.String |
getOwner()
Gets the Owner |
private static java.lang.String |
getOwner(Field modsroot)
Retrieves the owner's displayForm or namePart if exists. |
private static java.lang.String |
getSubNodeText(Field f,
java.lang.String n1)
|
private static java.lang.String |
getSubNodeText(Field f,
java.lang.String n1,
java.lang.String n2)
|
java.lang.String |
getTitle()
Gets the title |
java.lang.String |
getType()
Gets the type |
private static java.lang.String |
stripLastChar(java.lang.String str)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final transient java.lang.String AUTHOR
public static final transient java.lang.String TYPE
public static final transient java.lang.String TITLE
public static final transient java.lang.String OWNER
public static final transient java.lang.String ISBN
private java.util.Map fields
Constructor Detail |
---|
public ModsRecord(java.util.Map map)
map
- The map of filedspublic ModsRecord(Field modsroot)
Method Detail |
---|
private static java.lang.String getSubNodeText(Field f, java.lang.String n1)
private static java.lang.String getSubNodeText(Field f, java.lang.String n1, java.lang.String n2)
public java.lang.String getField(java.lang.String key)
key
- The key of the field required
public java.util.Map getFields()
public java.lang.String getAuthor()
public java.lang.String getIsbn()
public java.lang.String getOwner()
public java.lang.String getTitle()
public java.lang.String getType()
private static java.lang.String stripLastChar(java.lang.String str)
private static java.lang.String getOwner(Field modsroot)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |