Package fr.abes.cbs.notices
Class Exemplaire
- java.lang.Object
-
- fr.abes.cbs.notices.Notice
-
- fr.abes.cbs.notices.Exemplaire
-
-
Field Summary
-
Fields inherited from class fr.abes.cbs.notices.Notice
listeZones
-
-
Constructor Summary
Constructors Constructor Description Exemplaire()Exemplaire(com.google.common.collect.ListMultimap<String,Zone> listeZones)Exemplaire(String notice)Exemplaire(String notice, FORMATS format)Exemplaire(List<Zone> listeZones)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddZoneEtatCollection(String zone, String sousZone, String valeur, char[] indicateurs)Méthode d'ajout d'une zone d'état de collection à la noticevoidcreateExemplaireFromUnimarc(String exemplaire)Constructeur d'un objet Exemplaire à partir d'une chaine issue du SudocvoidcreerNoticeFromUnimarc(String notice)StringgetNumEx()Récupération du numéro d'un exemplaire à partir du label de la première zoneTYPE_NOTICEgetType()-
Methods inherited from class fr.abes.cbs.notices.Notice
addSousZone, addSousZone, addSousZone, addZone, addZone, addZone, addZone, createNoticeFromXml, deleteSousZone, deleteZone, deleteZone, deleteZoneWithValue, findZone, findZones, findZoneWithPattern, genererZonesSansSousZone, getIndicateurs, initListeZones, replaceSousZone, replaceSousZoneWithValue, toString, traiterSousZonesXml
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface fr.abes.cbs.notices.INotice
getListeZones
-
-
-
-
Constructor Detail
-
Exemplaire
public Exemplaire()
-
Exemplaire
public Exemplaire(String notice) throws ZoneException
- Throws:
ZoneException
-
Exemplaire
public Exemplaire(String notice, FORMATS format) throws ZoneException, NoticeException, org.dom4j.DocumentException
- Throws:
ZoneExceptionNoticeExceptionorg.dom4j.DocumentException
-
-
Method Detail
-
createExemplaireFromUnimarc
public void createExemplaireFromUnimarc(String exemplaire) throws ZoneException
Constructeur d'un objet Exemplaire à partir d'une chaine issue du Sudoc- Parameters:
exemplaire- chaine de l'exemplaire préfixée de STR_1F et suffixée de STR_1E- Throws:
ZoneException
-
creerNoticeFromUnimarc
public void creerNoticeFromUnimarc(String notice) throws ZoneException
- Throws:
ZoneException
-
addZoneEtatCollection
public void addZoneEtatCollection(String zone, String sousZone, String valeur, char[] indicateurs) throws ZoneException
Méthode d'ajout d'une zone d'état de collection à la notice- Specified by:
addZoneEtatCollectionin interfaceINotice- Overrides:
addZoneEtatCollectionin classNotice- Parameters:
zone- : intitulé de la zone d'état de collection : 955, 956, 957 ou 959sousZone- : sous zone à ajouter (la zone ne peut pas être créée sans sous zone)valeur- : valeur à affecter à la sous zoneindicateurs- : indicateurs- Throws:
ZoneException
-
getNumEx
public String getNumEx()
Récupération du numéro d'un exemplaire à partir du label de la première zone- Returns:
- numero de l'exemplaire au format xy (x/y entre 0 et 9)
-
getType
public TYPE_NOTICE getType()
-
-