public class OafDecoder extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
OafDecoder(byte[] value) |
| Modifier and Type | Method and Description |
|---|---|
String |
asXml() |
static OafDecoder |
decode(byte[] oaf) |
static OafDecoder |
decode(eu.dnetlib.data.proto.OafProtos.Oaf oaf) |
OafEntityDecoder |
decodeEntity() |
String |
getCFQ() |
eu.dnetlib.data.proto.OafProtos.OafEntity |
getEntity() |
String |
getEntityId() |
eu.dnetlib.data.proto.KindProtos.Kind |
getKind() |
com.google.protobuf.GeneratedMessage |
getMetadata() |
eu.dnetlib.data.proto.OafProtos.Oaf |
getOaf() |
com.google.protobuf.GeneratedMessage |
getOafEntity() |
eu.dnetlib.data.proto.OafProtos.OafRel |
getOafRel() |
com.google.protobuf.GeneratedMessage |
getRel() |
RelDescriptor |
getRelDescriptor() |
String |
relSourceId() |
String |
relTargetId() |
eu.dnetlib.data.proto.RelTypeProtos.RelType |
relType() |
String |
relTypeName() |
byte[] |
toByteArray() |
public static OafDecoder decode(eu.dnetlib.data.proto.OafProtos.Oaf oaf)
public static OafDecoder decode(byte[] oaf)
public eu.dnetlib.data.proto.KindProtos.Kind getKind()
public eu.dnetlib.data.proto.OafProtos.Oaf getOaf()
public com.google.protobuf.GeneratedMessage getMetadata()
public com.google.protobuf.GeneratedMessage getOafEntity()
public String getEntityId()
public eu.dnetlib.data.proto.OafProtos.OafEntity getEntity()
public OafEntityDecoder decodeEntity()
public eu.dnetlib.data.proto.OafProtos.OafRel getOafRel()
public com.google.protobuf.GeneratedMessage getRel()
public eu.dnetlib.data.proto.RelTypeProtos.RelType relType()
public String relTypeName()
public String relSourceId()
public String relTargetId()
public String getCFQ()
public RelDescriptor getRelDescriptor()
public byte[] toByteArray()
public String asXml()
Copyright © 2025. All rights reserved.