public class StringAttribute extends java.lang.Object implements Attribute
String.| Constructor and Description |
|---|
StringAttribute(org.cryptimeleon.math.serialization.Representation repr) |
StringAttribute(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAttributeName() |
org.cryptimeleon.math.serialization.Representation |
getRepresentation() |
int |
hashCode() |
boolean |
isFulfilled(java.util.Collection<? extends PolicyFact> facts) |
java.lang.String |
toString() |
org.cryptimeleon.math.hash.ByteAccumulator |
updateAccumulator(org.cryptimeleon.math.hash.ByteAccumulator accumulator) |
public StringAttribute(java.lang.String name)
public StringAttribute(org.cryptimeleon.math.serialization.Representation repr)
public java.lang.String getAttributeName()
public org.cryptimeleon.math.serialization.Representation getRepresentation()
getRepresentation in interface org.cryptimeleon.math.serialization.Representablepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean isFulfilled(java.util.Collection<? extends PolicyFact> facts)
isFulfilled in interface Policypublic org.cryptimeleon.math.hash.ByteAccumulator updateAccumulator(org.cryptimeleon.math.hash.ByteAccumulator accumulator)
updateAccumulator in interface org.cryptimeleon.math.hash.UniqueByteRepresentable