Class FauxDataPropertyWrapper
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.beans.BaseResourceBean
-
- edu.cornell.mannlib.vitro.webapp.beans.Property
-
- edu.cornell.mannlib.vitro.webapp.beans.DataProperty
-
- edu.cornell.mannlib.vitro.webapp.web.templatemodels.individual.FauxDataPropertyWrapper
-
- All Implemented Interfaces:
ResourceBean,FauxPropertyWrapper,Comparable<DataProperty>
public class FauxDataPropertyWrapper extends DataProperty implements FauxPropertyWrapper
A DataProperty that has some of its values overridden by a FauxProperty. TODO This is a horrible kluge that should be discarded as soon as we can rewrite GroupedPropertyList.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.cornell.mannlib.vitro.webapp.beans.Property
Property.DisplayComparatorIgnoringPropertyGroup
-
-
Field Summary
-
Fields inherited from class edu.cornell.mannlib.vitro.webapp.beans.BaseResourceBean
localName, localNameWithPrefix, namespace, pickListName, URI
-
-
Constructor Summary
Constructors Constructor Description FauxDataPropertyWrapper(DataProperty inner, FauxProperty faux)
-
Method Summary
-
Methods inherited from class edu.cornell.mannlib.vitro.webapp.beans.DataProperty
addDataPropertyStatement, compareTo, getDisplayLimit, getDomainClassURI, getEditing, getName, getPublicName, getRangeDatatypeURI, getStatusId, isExternalId, setDataPropertyStatements, setDisplayLimit, setDisplayTier, setDomainClassURI, setEditing, setExternalId, setName, setPublicName, setRangeDatatypeURI, setStatusId
-
-
-
-
Constructor Detail
-
FauxDataPropertyWrapper
public FauxDataPropertyWrapper(DataProperty inner, FauxProperty faux)
-
-
Method Detail
-
getGroupURI
public String getGroupURI()
- Overrides:
getGroupURIin classProperty
-
setGroupURI
public void setGroupURI(String groupUri)
- Overrides:
setGroupURIin classProperty
-
getDomainVClassURI
public String getDomainVClassURI()
- Overrides:
getDomainVClassURIin classDataProperty
-
setDomainVClassURI
public void setDomainVClassURI(String domainClassURI)
- Overrides:
setDomainVClassURIin classProperty
-
getRangeVClassURI
public String getRangeVClassURI()
- Overrides:
getRangeVClassURIin classDataProperty
-
setRangeVClassURI
public void setRangeVClassURI(String rangeClassURI)
- Overrides:
setRangeVClassURIin classProperty
-
getCustomEntryForm
public String getCustomEntryForm()
- Overrides:
getCustomEntryFormin classProperty
-
setCustomEntryForm
public void setCustomEntryForm(String s)
- Overrides:
setCustomEntryFormin classProperty
-
getPublicDescription
public String getPublicDescription()
- Overrides:
getPublicDescriptionin classDataProperty
-
setPublicDescription
public void setPublicDescription(String s)
- Overrides:
setPublicDescriptionin classDataProperty
-
getPickListName
public String getPickListName()
- Specified by:
getPickListNamein interfaceResourceBean- Overrides:
getPickListNamein classBaseResourceBean
-
setPickListName
public void setPickListName(String pickListName)
- Overrides:
setPickListNamein classBaseResourceBean
-
getLabel
public String getLabel()
- Specified by:
getLabelin interfaceResourceBean- Overrides:
getLabelin classDataProperty
-
getDescription
public String getDescription()
- Overrides:
getDescriptionin classDataProperty
-
setDescription
public void setDescription(String description)
- Overrides:
setDescriptionin classDataProperty
-
getExample
public String getExample()
- Overrides:
getExamplein classDataProperty
-
setExample
public void setExample(String example)
- Overrides:
setExamplein classDataProperty
-
getDisplayTier
public int getDisplayTier()
- Overrides:
getDisplayTierin classDataProperty
-
getFunctional
public boolean getFunctional()
- Overrides:
getFunctionalin classDataProperty
-
setFunctional
public void setFunctional(boolean functional)
- Overrides:
setFunctionalin classDataProperty
-
isSubjectSide
public boolean isSubjectSide()
- Overrides:
isSubjectSidein classProperty
-
isEditLinkSuppressed
public boolean isEditLinkSuppressed()
- Overrides:
isEditLinkSuppressedin classProperty
-
isAddLinkSuppressed
public boolean isAddLinkSuppressed()
- Overrides:
isAddLinkSuppressedin classProperty
-
isDeleteLinkSuppressed
public boolean isDeleteLinkSuppressed()
- Overrides:
isDeleteLinkSuppressedin classProperty
-
setEditLinkSuppressed
public void setEditLinkSuppressed(boolean editLinkSuppressed)
- Overrides:
setEditLinkSuppressedin classProperty
-
setAddLinkSuppressed
public void setAddLinkSuppressed(boolean addLinkSuppressed)
- Overrides:
setAddLinkSuppressedin classProperty
-
setDeleteLinkSuppressed
public void setDeleteLinkSuppressed(boolean deleteLinkSuppressed)
- Overrides:
setDeleteLinkSuppressedin classProperty
-
isAnonymous
public boolean isAnonymous()
- Specified by:
isAnonymousin interfaceResourceBean- Overrides:
isAnonymousin classBaseResourceBean
-
getURI
public String getURI()
- Specified by:
getURIin interfaceResourceBean- Overrides:
getURIin classBaseResourceBean
-
setURI
public void setURI(String URI)
- Specified by:
setURIin interfaceResourceBean- Overrides:
setURIin classBaseResourceBean
-
getNamespace
public String getNamespace()
- Specified by:
getNamespacein interfaceResourceBean- Overrides:
getNamespacein classBaseResourceBean
-
setNamespace
public void setNamespace(String namespace)
- Specified by:
setNamespacein interfaceResourceBean- Overrides:
setNamespacein classBaseResourceBean
-
getLocalName
public String getLocalName()
- Specified by:
getLocalNamein interfaceResourceBean- Overrides:
getLocalNamein classBaseResourceBean
-
setLocalName
public void setLocalName(String localName)
- Specified by:
setLocalNamein interfaceResourceBean- Overrides:
setLocalNamein classBaseResourceBean
-
getLocalNameWithPrefix
public String getLocalNameWithPrefix()
- Overrides:
getLocalNameWithPrefixin classBaseResourceBean
-
setLocalNameWithPrefix
public void setLocalNameWithPrefix(String prefixedLocalName)
- Overrides:
setLocalNameWithPrefixin classBaseResourceBean
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBaseResourceBean
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classBaseResourceBean
-
getDataPropertyStatements
public List<DataPropertyStatement> getDataPropertyStatements()
- Overrides:
getDataPropertyStatementsin classDataProperty
-
toString
public String toString()
- Overrides:
toStringin classDataProperty
-
getFauxProperty
public FauxProperty getFauxProperty()
- Specified by:
getFauxPropertyin interfaceFauxPropertyWrapper
-
getContextUri
public String getContextUri()
- Specified by:
getContextUriin interfaceFauxPropertyWrapper
-
getConfigUri
public String getConfigUri()
- Specified by:
getConfigUriin interfaceFauxPropertyWrapper
-
-