OW2 Consortium joram

Compare Revisions

Ignore whitespace Rev 6464 → Rev 6465

/trunk/joram/a3/common/src/main/java/fr/dyade/aaa/common/encoding/EncodedString.java
1,5 → 1,5
/*
* Copyright (C) 2013 ScalAgent Distributed Technologies
* Copyright (C) 2013 - 2017 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
30,8 → 30,8
* Encodable object that wraps a string.
* It also serves as a cache for the encoded string.
*/
@SuppressWarnings("serial")
public class EncodedString implements Serializable, Encodable {
private String string;
private byte[] encodedString;
111,11 → 111,8
}
public static class Factory implements EncodableFactory {
 
public Encodable createEncodable() {
return new EncodedString();
}
}
 
}
/trunk/joram/a3/common/src/main/java/fr/dyade/aaa/common/encoding/EncodableInteger.java
1,5 → 1,5
/*
* Copyright (C) 2013 ScalAgent Distributed Technologies
* Copyright (C) 2013 - 2017 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
26,8 → 26,8
/**
* Encodable object that wraps an integer.
*/
@SuppressWarnings("serial")
public class EncodableInteger implements Encodable, Serializable {
private int value;
public EncodableInteger() {}
70,11 → 70,8
}
 
public static class Factory implements EncodableFactory {
 
public Encodable createEncodable() {
return new EncodableInteger();
}
}
 
}
/trunk/joram/a3/common/src/main/java/fr/dyade/aaa/common/encoding/EncodedStringList.java
1,5 → 1,5
/*
* Copyright (C) 2013 ScalAgent Distributed Technologies
* Copyright (C) 2013 - 2017 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
25,8 → 25,8
import java.util.ArrayList;
import java.util.List;
 
@SuppressWarnings("serial")
public class EncodedStringList implements Serializable, Encodable {
private List<EncodedString> list;
public EncodedStringList() {
67,11 → 67,8
}
public static class Factory implements EncodableFactory {
 
public Encodable createEncodable() {
return new EncodedStringList();
}
}
 
}