public class BaseCitationService.BasicField extends Object implements org.sakaiproject.citation.api.Schema.Field
| Modifier and Type | Field and Description |
|---|---|
protected Object |
defaultValue |
static String |
DELIMITER |
protected String |
description |
protected String |
identifier |
protected Map |
identifiers |
protected boolean |
isEditable |
protected String |
label |
protected int |
maxCardinality |
protected int |
minCardinality |
protected String |
namespace |
protected int |
order |
protected boolean |
required |
protected String |
valueType |
| Constructor and Description |
|---|
BaseCitationService.BasicField(org.sakaiproject.citation.api.Schema.Field other) |
BaseCitationService.BasicField(String identifier,
String valueType,
boolean isEditable,
boolean required,
int minCardinality,
int maxCardinality) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getDefaultValue() |
String |
getDescription() |
String |
getIdentifier() |
String |
getIdentifier(String format) |
String[] |
getIdentifierComplex(String format) |
String |
getLabel() |
int |
getMaxCardinality() |
int |
getMinCardinality() |
String |
getNamespaceAbbreviation() |
int |
getOrder() |
String |
getValueType() |
boolean |
isEditable() |
boolean |
isMultivalued() |
boolean |
isRequired() |
void |
setDefaultValue(Object value) |
void |
setDescription(String description) |
void |
setEditable(boolean isEditable) |
void |
setIdentifier(String format,
String identifier) |
void |
setLabel(String label) |
void |
setMaxCardinality(int maxCardinality) |
void |
setMinCardinality(int minCardinality) |
void |
setNamespaceAbbreviation(String namespace) |
void |
setOrder(int order) |
void |
setRequired(boolean required) |
void |
setValueType(String valueType) |
String |
toString() |
protected Object defaultValue
protected String description
protected String identifier
protected String label
protected int maxCardinality
protected int minCardinality
protected String namespace
protected int order
protected boolean required
protected String valueType
protected Map identifiers
protected boolean isEditable
public static final String DELIMITER
public BaseCitationService.BasicField(org.sakaiproject.citation.api.Schema.Field other)
field - public Object getDefaultValue()
getDefaultValue in interface org.sakaiproject.citation.api.Schema.Fieldpublic String getDescription()
getDescription in interface org.sakaiproject.citation.api.Schema.Fieldpublic String getIdentifier()
getIdentifier in interface org.sakaiproject.citation.api.Schema.Fieldpublic String getIdentifier(String format)
getIdentifier in interface org.sakaiproject.citation.api.Schema.Fieldpublic String[] getIdentifierComplex(String format)
getIdentifierComplex in interface org.sakaiproject.citation.api.Schema.Fieldpublic String getLabel()
getLabel in interface org.sakaiproject.citation.api.Schema.Fieldpublic int getMaxCardinality()
getMaxCardinality in interface org.sakaiproject.citation.api.Schema.Fieldpublic int getMinCardinality()
getMinCardinality in interface org.sakaiproject.citation.api.Schema.Fieldpublic String getNamespaceAbbreviation()
getNamespaceAbbreviation in interface org.sakaiproject.citation.api.Schema.Fieldpublic int getOrder()
public String getValueType()
getValueType in interface org.sakaiproject.citation.api.Schema.Fieldpublic boolean isEditable()
isEditable in interface org.sakaiproject.citation.api.Schema.Fieldpublic boolean isMultivalued()
isMultivalued in interface org.sakaiproject.citation.api.Schema.Fieldpublic boolean isRequired()
isRequired in interface org.sakaiproject.citation.api.Schema.Fieldpublic void setDefaultValue(Object value)
public void setDescription(String description)
label - public void setEditable(boolean isEditable)
public void setLabel(String label)
label - public void setMaxCardinality(int maxCardinality)
maxCardinality - The maxCardinality to set.public void setMinCardinality(int minCardinality)
minCardinality - The minCardinality to set.public void setNamespaceAbbreviation(String namespace)
public void setOrder(int order)
public void setRequired(boolean required)
required - The required to set.public void setValueType(String valueType)
valueType - The valueType to set.Copyright © 2003-2015 The Sakai Foundation. All Rights Reserved.